mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
515 Compatibility (#19636)
* 515 compat * double spaces * Callback documentation, aa review * spacing * NAMEOF_STATIC * big beta
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user