aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/mp/_changemap.nut
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp/_changemap.nut')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_changemap.nut4
1 files changed, 2 insertions, 2 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_changemap.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_changemap.nut
index 94fda4d70..a2e95e082 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_changemap.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_changemap.nut
@@ -46,8 +46,8 @@ void function PopulatePostgameData()
player.SetPersistentVar( "postGameData.myTeam", player.GetTeam() )
player.SetPersistentVar( "postGameData.myXuid", player.GetUID() )
- player.SetPersistentVar( "postGameData.gameMode", PersistenceGetEnumIndexForItemName( "gamemodes", GAMETYPE ) )
- player.SetPersistentVar( "postGameData.map", PersistenceGetEnumIndexForItemName( "maps", GetMapName() ) )
+ player.SetPersistentVar( "postGameData.gameMode", enumModeIndex )
+ player.SetPersistentVar( "postGameData.map", enumMapIndex )
player.SetPersistentVar( "postGameData.teams", standardTeams )
player.SetPersistentVar( "postGameData.maxTeamSize", teams )
player.SetPersistentVar( "postGameData.privateMatch", true )