515 Compatibility (#19636)

* 515 compat

* double spaces

* Callback documentation, aa review

* spacing

* NAMEOF_STATIC

* big beta
This commit is contained in:
S34N
2022-11-08 23:08:40 +00:00
committed by GitHub
parent 2e7e556383
commit 667dd5d4ac
378 changed files with 928 additions and 919 deletions
+3 -3
View File
@@ -148,7 +148,7 @@
/obj/structure/barricade/security/Initialize(mapload)
. = ..()
addtimer(CALLBACK(src, .proc/deploy), deploy_time)
addtimer(CALLBACK(src, PROC_REF(deploy)), deploy_time)
/obj/structure/barricade/security/proc/deploy()
icon_state = "barrier1"
@@ -316,7 +316,7 @@
/obj/structure/dropwall_generator/proc/deploy(direction, uptime)
anchored = TRUE
protected = TRUE
addtimer(CALLBACK(src, .proc/power_out), uptime)
addtimer(CALLBACK(src, PROC_REF(power_out)), uptime)
timer_overlay_proc(uptime/10)
connected_shields += new /obj/structure/barricade/dropwall(get_turf(loc), src, TRUE, direction)
@@ -366,7 +366,7 @@
if(cycle != 1)
cut_overlay("[(cycle - 1)]")
if(cycle < 12)
addtimer(CALLBACK(src, .proc/timer_overlay_proc, uptime - 1), DROPWALL_UPTIME / 12 SECONDS)
addtimer(CALLBACK(src, PROC_REF(timer_overlay_proc), uptime - 1), DROPWALL_UPTIME / 12 SECONDS)
/obj/item/used_dropwall