Update projectile.dm (#12380)

This commit is contained in:
kevinz000
2020-06-01 12:46:02 -07:00
committed by GitHub
parent fef5e0bc56
commit effa47ec93
+1 -1
View File
@@ -548,7 +548,7 @@
var/safety = CEILING(pixel_increment_amount / world.icon_size, 1) * 2 + 1
while(T != loc)
if(!--safety)
CRASH("Projectile took more than pixel incrememnt speed times 2 to get to its location, this is probably something seriously scuffed going on.")
CRASH("[type] took too long (allowed: [CEILING(pixel_increment_amount/world.icon_size,1)*2] moves) to get to its location.")
step_towards(src, T)
if(QDELETED(src))
return