fixed another assert problem when game is cleaning up

This commit is contained in:
Tim Felgentreff 2022-03-06 14:36:45 +01:00
parent 4f6095ae0b
commit 0802cd1cff

View file

@ -537,7 +537,7 @@ void CUnit::Release(bool final)
}
}
Assert(!Refs);
Assert(!GameCycle || !Refs); // it's fine to have remaining refs if we're no longer in the game
//
// No more references remaining, but the network could have an order