1
1
forked from 0ad/0ad

prevent events from the first turn after deserialization to be thrown away

This was SVN commit r15962.
This commit is contained in:
mimo 2014-11-13 20:21:00 +00:00
parent c813a11427
commit 49a31c5de2

View File

@ -988,7 +988,7 @@ public:
// Get the game state from AIInterface
JS::RootedValue state(cx);
if (m_JustDeserialized)
state.set(cmpAIInterface->GetFullRepresentation(true).get());
state.set(cmpAIInterface->GetFullRepresentation(false).get());
else
state.set(cmpAIInterface->GetRepresentation().get());