mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
Makes all global variables handled by the GLOB controller (#13152)
* Handlers converted, now to fix 3532 compile errors * 3532 compile fixes later, got runtimes on startup * Well the server loads now atleast * Take 2 * Oops
This commit is contained in:
@@ -205,7 +205,7 @@ GLOBAL_DATUM_INIT(acid_overlay, /mutable_appearance, mutable_appearance('icons/e
|
||||
if(!(resistance_flags & ON_FIRE) && (resistance_flags & FLAMMABLE) && !(resistance_flags & FIRE_PROOF))
|
||||
resistance_flags |= ON_FIRE
|
||||
SSfires.processing[src] = src
|
||||
add_overlay(fire_overlay, TRUE)
|
||||
add_overlay(GLOB.fire_overlay, TRUE)
|
||||
return 1
|
||||
|
||||
///called when the obj is destroyed by fire
|
||||
@@ -218,7 +218,7 @@ GLOBAL_DATUM_INIT(acid_overlay, /mutable_appearance, mutable_appearance('icons/e
|
||||
/obj/proc/extinguish()
|
||||
if(resistance_flags & ON_FIRE)
|
||||
resistance_flags &= ~ON_FIRE
|
||||
cut_overlay(fire_overlay, TRUE)
|
||||
cut_overlay(GLOB.fire_overlay, TRUE)
|
||||
SSfires.processing -= src
|
||||
|
||||
///Called when the obj is hit by a tesla bolt.
|
||||
|
||||
Reference in New Issue
Block a user