diff --git a/wadsrc/static/zscript/shared/player.txt b/wadsrc/static/zscript/shared/player.txt index b1d803107b..31c8071a5f 100644 --- a/wadsrc/static/zscript/shared/player.txt +++ b/wadsrc/static/zscript/shared/player.txt @@ -1943,7 +1943,8 @@ class PlayerPawn : Actor native // look for its non-powered up version. if (ReadyWeapon.bPOWERED_UP && ReadyWeapon.SisterWeaponType != null) { - return player.weapons.LocateWeapon(ReadyWeapon.SisterWeaponType); + [found, slot, index] = player.weapons.LocateWeapon(ReadyWeapon.SisterWeaponType); + return found, slot, index; } return false, 0, 0; }