From 8bd5d20b49c88d64bd2d6777f5c4e3f907882245 Mon Sep 17 00:00:00 2001 From: lizardqueenlexi <105025397+lizardqueenlexi@users.noreply.github.com> Date: Fri, 9 Dec 2022 13:08:32 -0600 Subject: [PATCH] Fixed an improper proc ref. (#71862) ## About The Pull Request I noticed that Linters was failing on another PR I opened, due to a proc ref in a single file being in the old format. I've set it to use PROC_REF() instead, which should fix this. ## Why It's Good For The Game Linters errors are annoying, especially when they're not even related to your PR. Plus, these need to be in this format for future compatibility. ## Changelog :cl: code: Switched a single proc ref to the proper format. /:cl: --- code/game/objects/items/choice_beacon.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/choice_beacon.dm b/code/game/objects/items/choice_beacon.dm index be9af606474..a3786945106 100644 --- a/code/game/objects/items/choice_beacon.dm +++ b/code/game/objects/items/choice_beacon.dm @@ -157,7 +157,7 @@ user = user, anchor = src, choices = armament_names_to_images, - custom_check = CALLBACK(src, .proc/can_use_beacon, user), + custom_check = CALLBACK(src, PROC_REF(can_use_beacon), user), require_near = TRUE, ) if(!can_use_beacon(user))