mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-29 15:22:29 +00:00
SERVER: Attempt to alleviate the issue where powerup light does not despawn
This commit is contained in:
parent
b92463a553
commit
c74ebbb00f
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue