diff options
author | x3Karma <juliuslimck@gmail.com> | 2021-12-30 02:06:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-30 02:06:19 +0800 |
commit | 7ed259a9a76dc2e90cc1934f688c949cc7e9edcc (patch) | |
tree | 9e7ae45e12e5123f3505eb5374735bfe2e8c3385 /Northstar.CustomServers/mod/scripts | |
parent | 20898278b760a775d1c375b6340fe244db9a385f (diff) | |
download | NorthstarMods-7ed259a9a76dc2e90cc1934f688c949cc7e9edcc.tar.gz NorthstarMods-7ed259a9a76dc2e90cc1934f688c949cc7e9edcc.zip |
reset flags properly
Diffstat (limited to 'Northstar.CustomServers/mod/scripts')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_speedball.nut | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_speedball.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_speedball.nut index cef0af6b..bba70358 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_speedball.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_speedball.nut @@ -25,6 +25,7 @@ void function GamemodeSpeedball_Init() AddCallback_OnTouchHealthKit( "item_flag", OnFlagCollected ) AddCallback_OnPlayerKilled( OnPlayerKilled ) SetTimeoutWinnerDecisionFunc( TimeoutCheckFlagHolder ) + AddCallback_OnRoundEndCleanup ( ResetFlag ) ClassicMP_SetCustomIntro( ClassicMP_DefaultNoIntro_Setup, ClassicMP_DefaultNoIntro_GetLength() ) ClassicMP_ForceDisableEpilogue( true ) @@ -127,4 +128,4 @@ int function TimeoutCheckFlagHolder() return TEAM_UNASSIGNED return file.flagCarrier.GetTeam() -}
\ No newline at end of file +} |