mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
JSON Logging Refactor (#18252)
* First pass * fixes * more fixes * num2hex length changes * pass 2 * fixed warning * looc log fix * . * update tgui * . * . * . * . * perttier * cleanup * . * . * fix token * no * . * . * . * , * modsay eventsay * . --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -143,7 +143,7 @@ var/list/name_to_material
|
||||
if(istext(key)) // text ID
|
||||
. = name_to_material[key]
|
||||
if(!.)
|
||||
warning("Attempted to fetch material ref with invalid text id '[key]'")
|
||||
WARNING("Attempted to fetch material ref with invalid text id '[key]'")
|
||||
return
|
||||
|
||||
if(!ispath(key, /datum/material))
|
||||
@@ -152,7 +152,7 @@ var/list/name_to_material
|
||||
key = GetIdFromArguments(arguments)
|
||||
. = name_to_material[key]
|
||||
if(!.)
|
||||
warning("Attempted to fetch nonexistent material with key [key]")
|
||||
WARNING("Attempted to fetch nonexistent material with key [key]")
|
||||
|
||||
/** I'm not going to lie, this was swiped from [SSdcs][/datum/controller/subsystem/processing/dcs].
|
||||
* Credit does to ninjanomnom
|
||||
|
||||
Reference in New Issue
Block a user