Update projectile.dm

This commit is contained in:
silicons
2020-07-23 18:35:32 -07:00
committed by GitHub
parent a88fa29682
commit 99737b6e11

View File

@@ -623,7 +623,7 @@
pixel_x = trajectory.return_px()
pixel_y = trajectory.return_py()
else if(T != loc)
var/safety = CEILING(pixel_increment_amount / world.icon_size, 1) * 2 + 1
var/safety = CEILING(pixel_increment_amount / world.icon_size, 1) * 5 + 1
while(T != loc)
if(!--safety)
CRASH("[type] took too long (allowed: [CEILING(pixel_increment_amount/world.icon_size,1)*2] moves) to get to its location.")