Fixes mobs having nightvision constantly (#1642)

Because operator order is important or some shit.
This commit is contained in:
skull132
2017-01-25 16:22:50 +02:00
committed by GitHub
parent 1d58b6637c
commit 2e6dc9dd62
2 changed files with 7 additions and 1 deletions
@@ -376,7 +376,7 @@
return 1
if(!H.druggy)
H.see_in_dark = (H.sight == SEE_TURFS|SEE_MOBS|SEE_OBJS) ? 8 : min(darksight + H.equipment_darkness_modifier, 8)
H.see_in_dark = (H.sight == (SEE_TURFS|SEE_MOBS|SEE_OBJS)) ? 8 : min(darksight + H.equipment_darkness_modifier, 8)
if(H.seer)
var/obj/effect/rune/R = locate() in H.loc
if(R && R.word1 == cultwords["see"] && R.word2 == cultwords["hell"] && R.word3 == cultwords["join"])