Phasor is a server extension for Halo PC which focuses on giving the end-user the ability to deeply customize gameplay. Phasor does this via its scripting system, which uses the Lua language. Scripters are able to react to and change many different aspects of the game.
It appears that specifically on Race gametypes OnGameEnd mode1 is not called when the game ends by a player winning (it works if you use sv_map_next though). I was using Rally specifically.
In the OnGameEnd function, I print the stage; "mode 2" and "mode 3" printed, but "mode 1" did not (also the code that was supposed to be executed on mode 1 in all of my scripts didn't execute). There were no script errors or Phasor errors.
It appears that specifically on Race gametypes OnGameEnd mode1 is not called when the game ends by a player winning (it works if you use sv_map_next though). I was using Rally specifically.
In the OnGameEnd function, I print the stage; "mode 2" and "mode 3" printed, but "mode 1" did not (also the code that was supposed to be executed on mode 1 in all of my scripts didn't execute). There were no script errors or Phasor errors.