Fix crash after exiting a code battle
parent
08d87fa975
commit
7216d8d12e
|
@ -2548,7 +2548,6 @@ bool CRobotMain::EventFrame(const Event &event)
|
|||
m_eventQueue->AddEvent(Event(EVENT_LOST));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (GetMissionType() == MISSION_CODE_BATTLE)
|
||||
{
|
||||
|
@ -2573,6 +2572,7 @@ bool CRobotMain::EventFrame(const Event &event)
|
|||
|
||||
UpdateCodeBattleInterface();
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue