mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
AI Law Message Fix (#9120)
This commit is contained in:
@@ -226,10 +226,15 @@ var/global/const/base_law_type = /datum/ai_laws/nanotrasen
|
||||
for(var/datum/ai_law/law in sorted_laws)
|
||||
if(law == zeroth_law_borg)
|
||||
continue
|
||||
var/mob/M = who
|
||||
if(law == zeroth_law)
|
||||
to_chat(who, "<span class='danger'>[law.get_index()]. [law.law]</span>")
|
||||
if(ismob(who) && M.vr_mob)
|
||||
to_chat(M.vr_mob, "<span class='danger'>[law.get_index()]. [law.law]</span>")
|
||||
else
|
||||
to_chat(who, "[law.get_index()]. [law.law]")
|
||||
if(ismob(who) && M.vr_mob)
|
||||
to_chat(M.vr_mob, "<span class='danger'>[law.get_index()]. [law.law]</span>")
|
||||
|
||||
/********************
|
||||
* Stating Laws *
|
||||
|
||||
Reference in New Issue
Block a user