mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-21 04:48:36 +01:00
Add null checks to client prefs checks
client.prefs. -> client?.prefs?.
This commit is contained in:
@@ -87,9 +87,9 @@ GLOBAL_LIST_EMPTY(mobs_with_editable_flavor_text) //et tu, hacky code
|
||||
examineTabOutput += "[L.name] "
|
||||
examineTabOutput += "([L.dna.custom_species ? L.dna.custom_species : L.dna.species.name])"
|
||||
|
||||
/* if(L.client.prefs.pins) //character has pins
|
||||
/* if(L.client?.prefs?.pins) //character has pins
|
||||
var/P = ""
|
||||
for(P in L.client.prefs.pins)
|
||||
for(P in L.client?.prefs?.pins)
|
||||
examineTabOutput += "[icon2html('hyperstation/icons/chat/pins.dmi', world, P)]" //show pins!
|
||||
*/
|
||||
examineTabOutput += "</center>"
|
||||
|
||||
Reference in New Issue
Block a user