5 Years Ago
Fix BuildingBlock health display bug. Health on BuildingBlock upgrades is actually sent to the client before the new upgrade state is sent. My code was clamping set health values to MaxHealth(), meaning the new value was clamped to the pre-upgrade max. Reverted the change to let health be set to "impossible" values again. Also now checking MaxHealth() instead of _maxHealth in health property, allowing for overrides.