I love afterattacks (#22028)

This commit is contained in:
DGamerL
2023-08-23 21:12:43 -05:00
committed by GitHub
parent ce060435f4
commit 0c0cf63608
+4 -1
View File
@@ -260,8 +260,11 @@
if(world.time < lastused + spawndelay)
return
var/turf/T = get_turf(target)
if(!T)
return
if(target != T)
// We only check the rpd_act of the target if it isn't the turf, because otherwise
// (A) blocked turfs can be acted on, and (B) unblocked turfs get acted on twice.