also reset variable at the beginning of a map

This commit is contained in:
Beu 2023-07-12 13:28:02 +02:00
parent a3c7553f60
commit 7e276cac52

View File

@ -197,6 +197,8 @@ declare netwrite Integer Net_TimeBeforeMalus for Teams[0] = -1;
declare netwrite Integer Net_RoundsPerMap for Teams[0] = 0; declare netwrite Integer Net_RoundsPerMap for Teams[0] = 0;
declare netwrite Integer Net_CurrentRoundNb for Teams[0] = 0; declare netwrite Integer Net_CurrentRoundNb for Teams[0] = 0;
ResetNetworkVariables();
// Map Intro // Map Intro
declare Boolean MapIsCompatible; declare Boolean MapIsCompatible;
declare CMapLandmark[] Landmarks = Map::GetFinishesAndMultilaps(); declare CMapLandmark[] Landmarks = Map::GetFinishesAndMultilaps();