From b1fcec60f3b87acafc6283ffa2db868580dd8ece Mon Sep 17 00:00:00 2001 From: JixS4v <61665800+JixS4v@users.noreply.github.com> Date: Sat, 31 Aug 2024 17:13:15 +0200 Subject: [PATCH] Fixed wrong proc ref syntax --- code/datums/elements/atmos_sensitive.dm | 2 +- code/game/turfs/closed/minerals.dm | 2 +- .../atmospherics/machinery/components/components_base.dm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/datums/elements/atmos_sensitive.dm b/code/datums/elements/atmos_sensitive.dm index 601c50e2cdd40..07187f9f57da9 100644 --- a/code/datums/elements/atmos_sensitive.dm +++ b/code/datums/elements/atmos_sensitive.dm @@ -11,7 +11,7 @@ var/atom/to_track = target if(isopenturf(to_track.loc)) to_track.RegisterSignal(to_track.loc, COMSIG_TURF_EXPOSE, /atom/proc/check_atmos_process) - RegisterSignal(to_track, COMSIG_MOVABLE_MOVED, .proc/handle_move) + RegisterSignal(to_track, COMSIG_MOVABLE_MOVED, PROC_REF(handle_move)) return ..() /datum/element/atmos_sensitive/Detach(datum/source, force) diff --git a/code/game/turfs/closed/minerals.dm b/code/game/turfs/closed/minerals.dm index ba034d7375b2e..cf284792f17bb 100644 --- a/code/game/turfs/closed/minerals.dm +++ b/code/game/turfs/closed/minerals.dm @@ -95,7 +95,7 @@ if(defer_change) // TODO: make the defer change var a var for any changeturf flag flags = CHANGETURF_DEFER_CHANGE var/turf/open/mined = ScrapeAway(null, flags) - addtimer(CALLBACK(src, .proc/AfterChange, old_type), 1, TIMER_UNIQUE) + addtimer(CALLBACK(src, PROC_REF(AfterChange), old_type), 1, TIMER_UNIQUE) playsound(src, 'sound/effects/break_stone.ogg', 50, TRUE) //beautiful destruction mined.update_visuals() diff --git a/code/modules/atmospherics/machinery/components/components_base.dm b/code/modules/atmospherics/machinery/components/components_base.dm index 3bbfa787aada9..95c81d87da7fd 100644 --- a/code/modules/atmospherics/machinery/components/components_base.dm +++ b/code/modules/atmospherics/machinery/components/components_base.dm @@ -31,7 +31,7 @@ . = ..() if(hide) - RegisterSignal(src, COMSIG_OBJ_HIDE, .proc/hide_pipe) + RegisterSignal(src, COMSIG_OBJ_HIDE, PROC_REF(hide_pipe)) // Iconnery