Fixed emagged secbots being broken (#24149)

* emagged == 2 begone

* one slipped by
This commit is contained in:
Deniz
2024-02-19 11:42:24 +00:00
committed by GitHub
parent d72d0aebb7
commit fb75c9ae65
4 changed files with 4 additions and 4 deletions
@@ -160,7 +160,7 @@
/mob/living/carbon/alien/assess_threat(mob/living/simple_animal/bot/secbot/judgebot, lasercolor)
if(judgebot.emagged == 2)
if(judgebot.emagged)
return 10 //Everyone is a criminal!
var/threatcount = 0
@@ -1558,7 +1558,7 @@ Eyes need to have significantly high darksight to shine unless the mob has the X
return FALSE
/mob/living/carbon/human/assess_threat(mob/living/simple_animal/bot/secbot/judgebot, lasercolor)
if(judgebot.emagged == 2)
if(judgebot.emagged)
return 10 //Everyone is a criminal!
var/threatcount = 0
@@ -95,7 +95,7 @@
/mob/living/simple_animal/bot/cleanbot/emag_act(mob/user)
..()
if(emagged == 2)
if(emagged)
if(user)
to_chat(user, "<span class='danger'>[src] buzzes and beeps.</span>")
@@ -152,7 +152,7 @@
/mob/living/simple_animal/bot/floorbot/emag_act(mob/user)
..()
if(emagged == 2)
if(emagged)
if(user)
to_chat(user, "<span class='danger'>[src] buzzes and beeps.</span>")