Minor adjustment to how the give armor cheat works.
This commit is contained in:
parent
092fce04f8
commit
04b9dfbb17
1 changed files with 1 additions and 3 deletions
|
|
@ -141,9 +141,7 @@ Class UPlayer : UTPlayer
|
|||
for ( int i=0; i<AllActorClasses.Size(); i++ )
|
||||
{
|
||||
let type = (Class<UTArmor>)(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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue