1
1
forked from 0ad/0ad

completes f34dc412b6 for non visual replays, refs #3751

This was SVN commit r17711.
This commit is contained in:
mimo 2016-01-25 20:37:26 +00:00
parent ab16ddb256
commit bb8ceba632

View File

@ -205,7 +205,7 @@ void CReplayPlayer::Replay(bool serializationtest, bool ooslog)
std::getline(*m_Stream, line);
JS::RootedValue data(cx);
g_Game->GetSimulation2()->GetScriptInterface().ParseJSON(line, &data);
g_Game->GetSimulation2()->GetScriptInterface().FreezeObject(data, true);
commands.emplace_back(SimulationCommand(player, cx, data));
}
else if (type == "hash" || type == "hash-quick")