prevent events from the first turn after deserialization to be thrown away
This was SVN commit r15962.
This commit is contained in:
parent
c813a11427
commit
49a31c5de2
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user