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 // Too late, free the Power-Up
if (self.hitcount >= 40) { if (self.hitcount >= 40) {
Light_None(self);
PU_FreeEnt(self); PU_FreeEnt(self);
PU_FreeEnt(self.owner); PU_FreeEnt(self.owner);
} }