mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-25 13:21:32 +00:00
SERVER: Add support for specifying custom Barricade health
This commit is contained in:
parent
2fa7e60a0d
commit
33749ba828
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ void() item_barricade =
|
||||||
|
|
||||||
// Starting Health (-1 = start none, needs to be this way for compatibility)
|
// Starting Health (-1 = start none, needs to be this way for compatibility)
|
||||||
if (!self.health || self.health > 6 || self.health < -1)
|
if (!self.health || self.health > 6 || self.health < -1)
|
||||||
self.health = -1;
|
self.health = 6;
|
||||||
|
|
||||||
// Max Health
|
// Max Health
|
||||||
if (!self.health_delay || self.health_delay > 6 || self.health_delay < 0)
|
if (!self.health_delay || self.health_delay > 6 || self.health_delay < 0)
|
||||||
|
|
Loading…
Reference in a new issue