From b37c38ce9c9c8a334ea82ffedc479fea73b9e19b Mon Sep 17 00:00:00 2001 From: Marisa Kirisame Date: Wed, 11 Sep 2019 15:45:06 +0200 Subject: [PATCH] Small fixup. --- zscript/utcommon.zsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zscript/utcommon.zsc b/zscript/utcommon.zsc index 5a56656..8b1d9f1 100644 --- a/zscript/utcommon.zsc +++ b/zscript/utcommon.zsc @@ -139,11 +139,12 @@ Class UTPlayer : DoomPlayer { // Doom Tournament just gives the player a shield belt and maximum bonuses let belt = Inventory(Spawn("UTShieldBelt")); + belt.ClearCounters(); if ( !belt.CallTryPickup(self) ) belt.Destroy(); let bonus = Inventory(Spawn("UTArmorBonus")); + bonus.ClearCounters(); bonus.Amount = bonus.MaxAmount; if ( !bonus.CallTryPickup(self) ) bonus.Destroy(); - level.total_items -= 2; // spawning them in raises item count if ( !giveall ) return; } if ( giveall || (name ~== "keys") )