From 32698cf0e4d38bb4ead7bf1b106748db206685db Mon Sep 17 00:00:00 2001 From: Marisa Kirisame Date: Sun, 13 Oct 2019 22:27:38 +0200 Subject: [PATCH] Release Candidate 3 Hotfix 3: - Fix Armor Bonuses having the allmap effect due to hasty code copypasting. --- zscript/uarmoritems.zsc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zscript/uarmoritems.zsc b/zscript/uarmoritems.zsc index ae633e7..2f1fa66 100644 --- a/zscript/uarmoritems.zsc +++ b/zscript/uarmoritems.zsc @@ -275,9 +275,7 @@ Class UArmorBonus : UArmor override bool TryPickup( in out Actor toucher ) { if ( !sting_abonus ) return false; // not allowed - bool valid = Super.TryPickup(toucher); - if ( valid ) level.allmap = true; - return valid; + return Super.TryPickup(toucher); } override void Tick() {