Skip to content

Commit

Permalink
Fix setting health instead of max_health
Browse files Browse the repository at this point in the history
  • Loading branch information
PsyCommando authored and comma committed Dec 16, 2023
1 parent f84ee8b commit cffaec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/shieldgen/emergency_shield.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/obj/machinery/shield/malfai
name = "emergency forcefield"
desc = "A weak forcefield which seems to be projected by the emergency atmosphere containment field."
health = 100 // Half health, it's not suposed to resist much.
max_health = 100 // Half health, it's not suposed to resist much.

/obj/machinery/shield/malfai/Process()
health -= 0.5 // Slowly lose integrity over time
Expand Down

0 comments on commit cffaec7

Please sign in to comment.