mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Updated SSAtoms to TG's version (#18032)
* emperor protects * sdfas * sadf * sdf
This commit is contained in:
@@ -122,6 +122,11 @@
|
||||
|
||||
/obj/effect/decal/cleanable/foam/Initialize(mapload, amt = 1, nologs = 0)
|
||||
SHOULD_CALL_PARENT(FALSE)
|
||||
|
||||
if(flags_1 & INITIALIZED_1)
|
||||
stack_trace("Warning: [src]([type]) initialized multiple times!")
|
||||
flags_1 |= INITIALIZED_1
|
||||
|
||||
src.amount = amt
|
||||
|
||||
var/has_spread = 0
|
||||
@@ -133,8 +138,6 @@
|
||||
has_spread = 1
|
||||
break
|
||||
|
||||
initialized = TRUE
|
||||
|
||||
if(!has_spread)
|
||||
Spread()
|
||||
QDEL_IN(src, 2 MINUTES)
|
||||
|
||||
@@ -24,6 +24,10 @@
|
||||
if(!current_map.use_overmap)
|
||||
return ..()
|
||||
|
||||
if(flags_1 & INITIALIZED_1)
|
||||
stack_trace("Warning: [src]([type]) initialized multiple times!")
|
||||
flags_1 |= INITIALIZED_1
|
||||
|
||||
var/turf/T = get_turf(src)
|
||||
var/obj/effect/overmap/visitable/V = map_sectors["[T.z]"]
|
||||
if(istype(V) && V.comms_support)
|
||||
@@ -38,7 +42,6 @@
|
||||
if(use_common)
|
||||
channels += list(CHANNEL_COMMON = TRUE)
|
||||
|
||||
initialized = TRUE
|
||||
return INITIALIZE_HINT_NORMAL
|
||||
|
||||
/obj/item/device/encryptionkey/ship/common
|
||||
|
||||
@@ -452,9 +452,12 @@ pixel_x = 8;
|
||||
/obj/item/device/radio/intercom/broadcasting/Initialize()
|
||||
SHOULD_CALL_PARENT(FALSE)
|
||||
|
||||
if(flags_1 & INITIALIZED_1)
|
||||
stack_trace("Warning: [src]([type]) initialized multiple times!")
|
||||
flags_1 |= INITIALIZED_1
|
||||
|
||||
set_broadcasting(TRUE)
|
||||
|
||||
initialized = TRUE
|
||||
return INITIALIZE_HINT_NORMAL
|
||||
|
||||
/obj/item/device/radio/intercom/locked
|
||||
|
||||
@@ -53,7 +53,10 @@
|
||||
imprisoned = temporarymob
|
||||
|
||||
if(health == 0) //meaning if the statue didn't find a valid target
|
||||
initialized = TRUE
|
||||
if(flags_1 & INITIALIZED_1)
|
||||
stack_trace("Warning: [src]([type]) initialized multiple times!")
|
||||
flags_1 |= INITIALIZED_1
|
||||
|
||||
return INITIALIZE_HINT_QDEL
|
||||
|
||||
START_PROCESSING(SSprocessing, src)
|
||||
|
||||
Reference in New Issue
Block a user