From 7d07ad45ed6a41de3818eaafbc2f262473b7d292 Mon Sep 17 00:00:00 2001 From: S34N <12197162+S34NW@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:06:46 +0000 Subject: [PATCH] make sure verbs don't go missing --- code/modules/client/client_procs.dm | 2 -- code/modules/mob/living/login.dm | 2 ++ code/modules/mob/new_player/new_player.dm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index 9fb0cc1882b..3161b982a12 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -1175,8 +1175,6 @@ /// Compiles a full list of verbs and sends it to the browser /client/proc/init_verbs() - if(IsAdminAdvancedProcCall()) - return var/list/verblist = list() var/list/verbstoprocess = verbs.Copy() if(mob) diff --git a/code/modules/mob/living/login.dm b/code/modules/mob/living/login.dm index deae1e417da..a52baa2ccaf 100644 --- a/code/modules/mob/living/login.dm +++ b/code/modules/mob/living/login.dm @@ -21,4 +21,6 @@ //Should update regardless of if we can ventcrawl, since we can end up in pipes in other ways. update_pipe_vision(loc) + client?.init_verbs() + return . diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm index e27f782ce5b..178276eeae8 100644 --- a/code/modules/mob/new_player/new_player.dm +++ b/code/modules/mob/new_player/new_player.dm @@ -548,7 +548,6 @@ H.reset_markings() H.dna.ResetUIFrom(H) H.flavor_text = "" - client.init_verbs() stop_sound_channel(CHANNEL_LOBBYMUSIC) @@ -565,6 +564,7 @@ new_character.key = key //Manually transfer the key to log them in + client.init_verbs() return new_character