mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
rid of old span macros
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user