Fixed EndMissionDelay win=-1 not working, closes #592
parent
48481718e6
commit
5eae234b83
src/level
|
@ -5085,7 +5085,7 @@ Error CRobotMain::CheckEndMission(bool frame)
|
|||
|
||||
if (m_missionResult == ERR_OK)
|
||||
{
|
||||
if (m_endTakeWinDelay == -1.0f)
|
||||
if (m_endTakeWinDelay == -1.0f && m_winDelay == 0.0f)
|
||||
{
|
||||
m_winDelay = 1.0f; // wins in one second
|
||||
m_lostDelay = 0.0f;
|
||||
|
|
Loading…
Reference in New Issue