diff options
author | Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> | 2023-10-28 20:22:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-28 21:22:41 +0200 |
commit | 82f87121da416de0f6feab1fe2aa775c9c5b3088 (patch) | |
tree | 6143493a6d6806ee2f828085dd91e5ae73300250 /Northstar.Custom/mod/scripts/vscripts | |
parent | 640d3915c1a2c76ce4ff6d0c2cf7868c6d2e4f4f (diff) | |
download | NorthstarMods-1.19.11-rc1.tar.gz NorthstarMods-1.19.11-rc1.zip |
Change gun game score limit setting (#735)v1.19.11-rc6v1.19.11-rc5v1.19.11-rc4v1.19.11-rc3v1.19.11-rc2v1.19.11-rc1v1.19.10-rc1v1.19.10
Gun game was never set up to properly use the playlistvars for setting guns, and relied on playlistvaroverrides to set the score limit, this caused the change to persist to other modes
Diffstat (limited to 'Northstar.Custom/mod/scripts/vscripts')
-rw-r--r-- | Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_gg.gnut | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_gg.gnut b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_gg.gnut index 8f34541b..ad46b42e 100644 --- a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_gg.gnut +++ b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_gg.gnut @@ -18,14 +18,6 @@ void function GamemodeGG_Init() AddCallback_GameStateEnter( eGameState.WinnerDetermined, OnWinnerDetermined ) AddCallback_GGEarnMeterFull( OnGGEarnMeterFilled ) - - // set scorelimit if it's wrong, sort of a jank way to do it but best i've got rn - try - { - if ( GetCurrentPlaylistVarInt( "scorelimit", GetGunGameWeapons().len() ) != GetGunGameWeapons().len() ) - SetPlaylistVarOverride( "scorelimit", GetGunGameWeapons().len().tostring() ) - } - catch ( ex ) {} } void function OnPlayerDisconnected(entity player) |