Minor span refactoring (#19177)

Minor span refactoring
This commit is contained in:
Fluffy
2024-05-19 16:37:29 +00:00
committed by GitHub
parent 6387917444
commit 3dc4cce9c2
687 changed files with 4572 additions and 4295 deletions
@@ -132,15 +132,15 @@
return TRUE
if("notify_laws")
to_chat(owner, "<span class='danger'>Law Notice</span>")
to_chat(owner, SPAN_DANGER("Law Notice"))
owner.laws.show_laws(owner)
if(isAI(owner))
var/mob/living/silicon/ai/AI = owner
for(var/mob/living/silicon/robot/R in AI.connected_robots)
to_chat(R, "<span class='danger'>Law Notice</span>")
to_chat(R, SPAN_DANGER("Law Notice"))
R.laws.show_laws(R)
if(usr != owner)
to_chat(usr, "<span class='notice'>Laws displayed.</span>")
to_chat(usr, SPAN_NOTICE("Laws displayed."))
return TRUE
/datum/computer_file/program/law_manager/ui_data(mob/user)