diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-07 22:25:59 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-07 22:25:59 +0100 |
commit | 07b7eafd5c1845c70510b695446c23973fed1d4d (patch) | |
tree | 8452fd02d8356a65f07089c20318a8de95975125 /Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut | |
parent | 53194543e43f8a645ba83ddb464028ba0c3b9d70 (diff) | |
download | NorthstarMods-07b7eafd5c1845c70510b695446c23973fed1d4d.tar.gz NorthstarMods-07b7eafd5c1845c70510b695446c23973fed1d4d.zip |
add fra, featured modes and some private lobby v2 stuff
Diffstat (limited to 'Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut')
-rw-r--r-- | Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut b/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut index fd41236c4..99a5ccf77 100644 --- a/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut +++ b/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut @@ -73,6 +73,8 @@ void function OnPlayerKilled( entity victim, entity attacker, var damageInfo ) void function UpdateLoadout( entity player ) { + // todo: honestly, this should be reworked to use PilotLoadoutDefs instead of directly modifying weapons and shit + int currentWeaponIndex = GameRules_GetTeamScore( player.GetTeam() ) array<GunGameWeapon> weapons = GetGunGameWeapons() |