Skip to content

Commit

Permalink
Borgs get flashed again (#26674)
Browse files Browse the repository at this point in the history
  • Loading branch information
BiancaWilkson authored Sep 3, 2024
1 parent e77ced3 commit e0da59f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/modules/mob/living/silicon/robot/robot_defense.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/silicon/robot/robot_mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e0da59f

Please sign in to comment.