From 9abef0b3b29c754a8fcbb7d8664514eef82df515 Mon Sep 17 00:00:00 2001 From: Kashargul <144968721+Kashargul@users.noreply.github.com> Date: Fri, 16 Jan 2026 23:59:50 +0100 Subject: [PATCH] stack fill for player notes (#19039) * stack fill for player notes * nullcheck --- code/modules/client/client procs.dm | 2 +- tgui/packages/tgui/interfaces/PlayerNotes.tsx | 46 ++++++++++--------- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index 1d71c58961..021f8040b5 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -425,7 +425,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list( /client/Destroy() GLOB.directory -= ckey GLOB.clients -= src - persistent_client.set_client(null) + persistent_client?.set_client(null) log_access("Logout: [key_name(src)]") GLOB.tickets.ClientLogout(src) diff --git a/tgui/packages/tgui/interfaces/PlayerNotes.tsx b/tgui/packages/tgui/interfaces/PlayerNotes.tsx index 5022dc104f..b3702a7d98 100644 --- a/tgui/packages/tgui/interfaces/PlayerNotes.tsx +++ b/tgui/packages/tgui/interfaces/PlayerNotes.tsx @@ -29,7 +29,7 @@ export const PlayerNotes = (props) => { >
- + @@ -75,27 +75,29 @@ export const PlayerNotes = (props) => { - - - {ckeys.map((ckey) => ( - - - - - - ))} -
+ +
+ + {ckeys.map((ckey) => ( + + + + + + ))} +
+