Merge pull request #4798 from Lo6a4evskiy/AIfixer-fix

AI restoration console shows ion laws
This commit is contained in:
Alex
2014-09-14 13:14:09 +01:00

View File

@@ -51,6 +51,12 @@
if (src.occupier.laws.zeroth)
laws += "<b>0:</b> [src.occupier.laws.zeroth]<BR>"
for (var/index = 1, index <= src.occupier.laws.ion.len, index++)
var/law = src.occupier.laws.ion[index]
if (length(law) > 0)
var/num = ionnum()
laws += "<b>[num]:</b> [law]<BR>"
var/number = 1
for (var/index = 1, index <= src.occupier.laws.inherent.len, index++)
var/law = src.occupier.laws.inherent[index]