Turns trait accessors into defines, fixes some bugs (#43820)

It's free performance.
This commit is contained in:
vuonojenmustaturska
2019-05-06 19:44:05 -04:00
committed by Emmett Gaines
parent af552d9be5
commit fb45b7a017
273 changed files with 871 additions and 893 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
deity = "Nar'Sie"
else if(isliving(usr))
var/mob/living/L = usr
if(L.has_trait(TRAIT_SPIRITUAL))
if(HAS_TRAIT(L, TRAIT_SPIRITUAL))
cross.icon_state = "holylight"
font_color = "blue"
prayer_type = "SPIRITUAL PRAYER"