mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Fix null client field value in examine (#18808)
* fix(examine): handle the client's null value * chore: add changelog * Update code/modules/mob/living/carbon/human/examine.dm Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com> Signed-off-by: Werner <1331699+Arrow768@users.noreply.github.com> * fix: take out the extra tabs Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com> Signed-off-by: SidVeld <sidveld@gmail.com> --------- Signed-off-by: Werner <1331699+Arrow768@users.noreply.github.com> Signed-off-by: SidVeld <sidveld@gmail.com> Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com> Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>
This commit is contained in:
@@ -390,7 +390,7 @@
|
||||
|
||||
if(print_flavor_text()) msg += "[print_flavor_text()]\n"
|
||||
|
||||
if (GLOB.config.allow_Metadata && client.prefs.metadata)
|
||||
if(GLOB.config.allow_Metadata && client?.prefs.metadata)
|
||||
msg += "<span class='deadsay'>OOC Notes:</span> <a href='?src=\ref[src];metadata=1'>\[View\]</a>\n"
|
||||
|
||||
msg += "</span>"
|
||||
|
||||
Reference in New Issue
Block a user