Merge pull request #6880 from Mailaender/lua-music

Added Media.PlayMusic to the Lua API
This commit is contained in:
Oliver Brakmann
2015-01-25 15:05:47 +01:00
16 changed files with 106 additions and 61 deletions

View File

@@ -5,6 +5,7 @@ Background@MUSIC_PANEL:
Width: 360
Height: 450
Children:
LogicTicker@SONG_WATCHER:
ScrollPanel@MUSIC_LIST:
X: 15
Y: 45

View File

@@ -162,4 +162,6 @@ WorldLoaded = function()
SendSovietUnits(Entry5.Location, UnitTypes, 50)
SendSovietUnits(Entry6.Location, UnitTypes, 50)
SendSovietUnits(Entry7.Location, BeachUnitTypes, 15)
Media.PlayMusic()
end