mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Fix Capsule Entrance exec firing repeatedly
This commit is contained in:
parent
b1368078c6
commit
9452c02ca1
1 changed files with 2 additions and 2 deletions
|
|
@ -6009,7 +6009,7 @@ static void P_DoNiGHTSCapsule(player_t *player)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player->capsule->extravalue2 <= 0)
|
if (player->capsule->extravalue2 <= 0 && player->capsule->health > 0)
|
||||||
P_RunNightsCapsuleTouchExecutors(player->mo, true, player->spheres >= player->capsule->health); // run capsule entrance executors
|
P_RunNightsCapsuleTouchExecutors(player->mo, true, player->spheres >= player->capsule->health); // run capsule entrance executors
|
||||||
|
|
||||||
// Time to blow it up!
|
// Time to blow it up!
|
||||||
|
|
@ -6118,7 +6118,7 @@ static void P_DoNiGHTSCapsule(player_t *player)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
player->capsule->extravalue1 = player->capsule->extravalue2 = -1;
|
player->capsule->extravalue1 = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue