Save custom mode (#1007)
* first step to save custom game * localize various settings in custom game * rename fields to lower cases * fix many bugs * fixes #1014
This commit is contained in:
@@ -52,6 +52,9 @@ local function _playRep(fileName)
|
||||
DATA.pumpRecording(rep.data,GAME.rep)
|
||||
|
||||
loadGame(rep.mode,true)
|
||||
if rep.private and GAME.curMode.loadPrivate then
|
||||
GAME.curMode.loadPrivate(rep.private)
|
||||
end
|
||||
resetGameData('r')
|
||||
PLAYERS[1].username=rep.player
|
||||
PLAYERS[1]:startStreaming(GAME.rep)
|
||||
|
||||
Reference in New Issue
Block a user