From 8fcef113650884464c30035cde127987c900087e Mon Sep 17 00:00:00 2001 From: SuhEugene <32931701+SuhEugene@users.noreply.github.com> Date: Sat, 27 Apr 2024 03:09:54 +0300 Subject: [PATCH] Fix half of verbs not showing up (#2941) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## About The Pull Request Hello comrades. This PR fixes a mistake, because of which none of `/mob` verbs was sent to the TGUI panel on client connection for clients having "Broadcast Log in/out" disabled. ## Why It's Good For The Game Half of verbs wasn't showing up because of strange check condition completely unrelated to what's really needed to be checked. ## Changelog 🆑SuhEugene fix: fixed incomplete TGUI Panel verb list /🆑 --- code/modules/client/client_procs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index 4153a2f409e5..0fd922a2856a 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -1087,7 +1087,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list( return var/list/verblist = list() var/list/verbstoprocess = verbs.Copy() - if(mob?.client?.prefs.broadcast_login_logout) + if(mob) verbstoprocess += mob.verbs for(var/atom/movable/thing as anything in mob.contents) verbstoprocess += thing.verbs