mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-12 23:54:24 +01:00
some more new to init (#17231)
* some more new to init * rigs * rigs * intellisense moment * telcoms and landmarks * fix that as well * some more minor things * re add missing message * fix trash eating...
This commit is contained in:
@@ -62,9 +62,7 @@
|
||||
if(visible || update_now)
|
||||
if(!updating)
|
||||
updating = 1
|
||||
spawn(UPDATE_BUFFER) // Batch large changes, such as many doors opening or closing at once
|
||||
update()
|
||||
updating = 0
|
||||
addtimer(CALLBACK(src, PROC_REF(update)), UPDATE_BUFFER, TIMER_DELETE_ME) // Batch large changes, such as many doors opening or closing at once
|
||||
else
|
||||
changed = 1
|
||||
|
||||
@@ -112,6 +110,7 @@
|
||||
var/client/client = m.GetViewerClient()
|
||||
if(client)
|
||||
client.images += t.obfuscations[obfuscation.type]
|
||||
updating = 0
|
||||
|
||||
/datum/chunk/proc/acquireVisibleTurfs(var/list/visible)
|
||||
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
updateVisibility(src)
|
||||
return ..()
|
||||
|
||||
/obj/structure/New()
|
||||
..()
|
||||
/obj/structure/Initialize(mapload)
|
||||
. = ..()
|
||||
updateVisibility(src)
|
||||
|
||||
// EFFECTS
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
/obj/item/rig/protean/ex_act(severity)
|
||||
return
|
||||
|
||||
/obj/item/rig/protean/New(var/newloc, var/mob/living/carbon/human/P)
|
||||
/obj/item/rig/protean/Initialize(mapload, var/mob/living/carbon/human/P)
|
||||
if(P)
|
||||
var/datum/species/protean/S = P.species
|
||||
S.OurRig = src
|
||||
@@ -55,7 +55,7 @@
|
||||
myprotean = P
|
||||
else
|
||||
to_chat(P, span_notice("You should have spawned with a backpack to assimilate into your RIG. Try clicking it with a backpack."))
|
||||
..(newloc)
|
||||
. = ..()
|
||||
|
||||
/obj/item/rig/protean/Destroy()
|
||||
if(myprotean)
|
||||
|
||||
Reference in New Issue
Block a user