Merge pull request #6880 from Mailaender/lua-music
Added Media.PlayMusic to the Lua API
This commit is contained in:
@@ -5,6 +5,7 @@ Background@MUSIC_PANEL:
|
||||
Width: 360
|
||||
Height: 450
|
||||
Children:
|
||||
LogicTicker@SONG_WATCHER:
|
||||
ScrollPanel@MUSIC_LIST:
|
||||
X: 15
|
||||
Y: 45
|
||||
|
||||
@@ -162,4 +162,6 @@ WorldLoaded = function()
|
||||
SendSovietUnits(Entry5.Location, UnitTypes, 50)
|
||||
SendSovietUnits(Entry6.Location, UnitTypes, 50)
|
||||
SendSovietUnits(Entry7.Location, BeachUnitTypes, 15)
|
||||
|
||||
Media.PlayMusic()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user