mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix activating more than once
This commit is contained in:
parent
1fd1cee2e4
commit
288110539a
1 changed files with 5 additions and 1 deletions
|
|
@ -206,7 +206,11 @@ struct BallSwitch_Ball : mobj_t
|
|||
{
|
||||
Push(inflictor, 64 << FRACBITS, 1 << FRACBITS);
|
||||
K_SetHitLagForObjects(this, inflictor, source, 4, true);
|
||||
DeferActivation(true, source);
|
||||
|
||||
if (Active() == false)
|
||||
{
|
||||
DeferActivation(true, source);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue