mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-18 19:41:29 +00:00
Don't attempt itemamount correction after orbitals self-destruct
This commit is contained in:
parent
6f616265c4
commit
45f043a1c4
1 changed files with 1 additions and 1 deletions
|
|
@ -7260,7 +7260,7 @@ void K_RepairOrbitChain(mobj_t *orbit)
|
|||
prev->movedir = num;
|
||||
}
|
||||
|
||||
if (orbit->target->player->itemamount != num)
|
||||
if (!P_MobjWasRemoved(orbit->target) && orbit->target->player->itemamount != num)
|
||||
orbit->target->player->itemamount = num;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue