Borgs get flashed again (#26674)

This commit is contained in:
BiancaWilkson
2024-09-03 10:01:11 -04:00
committed by GitHub
parent e77ced338e
commit e0da59f5ea
2 changed files with 2 additions and 2 deletions
@@ -57,7 +57,7 @@
step_away(src, user, 15)
/mob/living/silicon/robot/flash_eyes(intensity = 1, override_blindness_check = 0, affect_silicon = 0, visual = 0, type = /atom/movable/screen/fullscreen/stretch/flash/noise)
if(!affect_silicon)
if(!affect_silicon || !can_be_flashed())
return
Confused(intensity * 4 SECONDS)
var/software_damage = (intensity * 40)
@@ -1765,7 +1765,7 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
return cell.is_powered() || externally_powered
/mob/living/silicon/robot/can_be_flashed(intensity, override_blindness_check)
return eye_protection
return !eye_protection
/mob/living/silicon/robot/can_remote_apc_interface(obj/machinery/power/apc/ourapc)
if(ourapc.hacked_by_ruin_AI || ourapc.aidisabled)