From 317c28274d8b3b9faab18eb9f2d6c924748cf21e Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Sat, 26 Apr 2025 18:45:28 -0400 Subject: [PATCH] Zodd fix --- Classic/scripts/inventoryHud.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classic/scripts/inventoryHud.cs b/Classic/scripts/inventoryHud.cs index 5640daf..8738ad8 100644 --- a/Classic/scripts/inventoryHud.cs +++ b/Classic/scripts/inventoryHud.cs @@ -771,7 +771,7 @@ function getAmmoStationLovin(%client) // grenades for(%i = 0; $InvGrenade[%i] !$= ""; %i++) // z0dd - ZOD, 5/27/03. Clear them all in one pass - %player.setInventory($NameToInv[$InvGrenade[%i]], 0); + %client.player.setInventory($NameToInv[$InvGrenade[%i]], 0); for ( %i = 0; %i < getFieldCount( %client.grenadeIndex ); %i++ ) { @@ -798,7 +798,7 @@ function getAmmoStationLovin(%client) // Mines for(%i = 0; $InvMine[%i] !$= ""; %i++) // z0dd - ZOD, 5/27/03. Clear them all in one pass - %player.setInventory($NameToInv[$InvMine[%i]], 0); + %client.player.setInventory($NameToInv[$InvMine[%i]], 0); for ( %i = 0; %i < getFieldCount( %client.mineIndex ); %i++ ) {