Skip to content

Commit

Permalink
fix to boost crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
JMM889901 committed Feb 2, 2022
1 parent 8da2f53 commit 737b7fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PeePee.MutatorPack/mod/scripts/vscripts/stealing.gnut
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ void function SwapWeapons(entity victim, entity attacker){
}
void function SwapAbilities(entity victim, entity attacker){
foreach(entity offhand in attacker.GetOffhandWeapons()){
if(attacker.GetOffhandWEapons().find(offhand) != OFFHAND_INVENTORY){
attacker.TakeWeaponNow(offhand.GetWeaponClassName())}
foreach(entity offhand in victim.GetOffhandWeapons()){
int index = victim.GetOffhandWeapons().find(offhand)
Expand Down

0 comments on commit 737b7fd

Please sign in to comment.