0
0
Fork 0
mirror of https://github.com/nzp-team/quakec.git synced 2025-04-26 19:40:57 +00:00

SERVER: Attempt to alleviate the issue where powerup light does not despawn

This commit is contained in:
MikeyRay 2023-03-24 18:35:01 +01:00
parent b92463a553
commit c74ebbb00f

View file

@ -542,6 +542,7 @@ void() PU_Flash =
// Too late, free the Power-Up
if (self.hitcount >= 40) {
Light_None(self);
PU_FreeEnt(self);
PU_FreeEnt(self.owner);
}