rid of old span macros

This commit is contained in:
Kashargul
2024-10-01 23:51:48 +02:00
parent ded60639bc
commit e0d694e8ac
205 changed files with 862 additions and 868 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ SUBSYSTEM_DEF(game_master)
if(check_rights(R_ADMIN|R_EVENT|R_DEBUG))
SSgame_master.interact(usr)
else
to_chat(usr, span("warning", "You do not have sufficient rights to view the GM panel, sorry."))
to_chat(usr, span_warning("You do not have sufficient rights to view the GM panel, sorry."))
/datum/controller/subsystem/game_master/proc/interact(var/client/user)
if(!user)
+1 -1
View File
@@ -22,7 +22,7 @@ SUBSYSTEM_DEF(job)
occupations = list()
var/list/all_jobs = subtypesof(/datum/job)
if(!all_jobs.len)
to_chat(world, span("warning", "Error setting up jobs, no job datums found"))
to_chat(world, span_warning("Error setting up jobs, no job datums found"))
return FALSE
for(var/J in all_jobs)
+2 -2
View File
@@ -64,7 +64,7 @@ SUBSYSTEM_DEF(webhooks)
return
if(!SSwebhooks.subsystem_initialized)
to_chat(usr, SPAN_WARNING("Let the webhook subsystem initialize before trying to reload it."))
to_chat(usr, span_warning("Let the webhook subsystem initialize before trying to reload it."))
return
to_world_log("[usr.key] has reloaded webhooks.")
@@ -79,7 +79,7 @@ SUBSYSTEM_DEF(webhooks)
return
if(!length(SSwebhooks.webhook_decls))
to_chat(usr, SPAN_WARNING("Webhook list is empty; either webhooks are disabled, webhooks aren't configured, or the subsystem hasn't initialized."))
to_chat(usr, span_warning("Webhook list is empty; either webhooks are disabled, webhooks aren't configured, or the subsystem hasn't initialized."))
return
var/choice = tgui_input_list(usr, "Select a webhook to ping.", "Ping Webhook", SSwebhooks.webhook_decls)