From 04b9dfbb170609addf0bc30653f9f6e0205bf160 Mon Sep 17 00:00:00 2001 From: Marisa Kirisame Date: Fri, 29 Nov 2019 00:07:34 +0100 Subject: [PATCH] Minor adjustment to how the give armor cheat works. --- zscript/unrealcommon.zsc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zscript/unrealcommon.zsc b/zscript/unrealcommon.zsc index dcf6185..c785590 100644 --- a/zscript/unrealcommon.zsc +++ b/zscript/unrealcommon.zsc @@ -141,9 +141,7 @@ Class UPlayer : UTPlayer for ( int i=0; i)(AllActorClasses[i]); - if ( !type ) continue; - let def = GetDefaultByType(type); - if ( !def.Icon.isValid() ) continue; + if ( !type || (type == 'UTArmor') || (type == 'UnrealArmor') ) continue; if ( GetReplacement(type) == type ) { let item = Inventory(Spawn(type));