mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
Fixes Stacking with the Check AI Laws verb (#27497)
This commit is contained in:
@@ -236,6 +236,18 @@
|
||||
else
|
||||
to_chat(who, "[law.get_index()]. [law.law]")
|
||||
|
||||
/datum/ai_laws/proc/return_laws_text()
|
||||
. = list()
|
||||
sort_laws()
|
||||
for(var/datum/ai_law/law in sorted_laws)
|
||||
if(law == zeroth_law_borg)
|
||||
continue
|
||||
if(law == zeroth_law)
|
||||
. += "<span class='danger'>[law.get_index()]. [law.law]</span>"
|
||||
else
|
||||
. += "[law.get_index()]. [law.law]"
|
||||
|
||||
|
||||
/********************
|
||||
* Stating Laws *
|
||||
********************/
|
||||
|
||||
Reference in New Issue
Block a user