Skip to content

Commit

Permalink
Fixed wrong proc ref syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
JixS4v committed Aug 31, 2024
1 parent afe780e commit b1fcec6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/datums/elements/atmos_sensitive.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion code/game/turfs/closed/minerals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
. = ..()

if(hide)
RegisterSignal(src, COMSIG_OBJ_HIDE, .proc/hide_pipe)
RegisterSignal(src, COMSIG_OBJ_HIDE, PROC_REF(hide_pipe))

// Iconnery

Expand Down

0 comments on commit b1fcec6

Please sign in to comment.