SERVER: Add support for specifying custom Barricade health

This commit is contained in:
MotoLegacy 2023-12-09 10:41:23 -05:00
parent 2fa7e60a0d
commit 33749ba828
1 changed files with 1 additions and 1 deletions

View File

@ -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)