some dreamchecker fixes and a for loop change (#29997)

This commit is contained in:
Toastical
2025-08-06 00:05:00 +03:00
committed by GitHub
parent a877c1a5a1
commit e35ff2dcb2
5 changed files with 4 additions and 4 deletions
@@ -393,7 +393,6 @@
//Parent proc checks if a mob can_be_flashed()
. = ..()
SIGNAL_HANDLER
SEND_SIGNAL(src, COMSIG_CARBON_FLASH_EYES, laser_pointer)
var/damage = intensity - check_eye_prot()
var/extra_damage = 0
+1
View File
@@ -860,6 +860,7 @@
//called when the mob receives a bright flash
/mob/living/proc/flash_eyes(intensity = 1, override_blindness_check = 0, affect_silicon = 0, visual = 0, laser_pointer = FALSE, type = /atom/movable/screen/fullscreen/stretch/flash)
SIGNAL_HANDLER
if(can_be_flashed(intensity, override_blindness_check))
overlay_fullscreen("flash", type)
addtimer(CALLBACK(src, PROC_REF(clear_fullscreen), "flash", 25), 25)