diff --git a/code/game/objects/items/weapons/rpd.dm b/code/game/objects/items/weapons/rpd.dm index 55639bd8087..37dc3b4917e 100644 --- a/code/game/objects/items/weapons/rpd.dm +++ b/code/game/objects/items/weapons/rpd.dm @@ -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.