mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
Add 'as anything' to various for loops
This commit is contained in:
@@ -19,7 +19,6 @@ PROCESSING_SUBSYSTEM_DEF(projectiles)
|
||||
|
||||
/datum/controller/subsystem/processing/projectiles/proc/set_pixel_speed(new_speed)
|
||||
global_pixel_speed = new_speed
|
||||
for(var/i in processing)
|
||||
var/obj/item/projectile/P = i
|
||||
for(var/obj/item/projectile/P as anything in processing)
|
||||
if(istype(P)) //there's non projectiles on this too.
|
||||
P.set_pixel_speed(new_speed)
|
||||
|
||||
Reference in New Issue
Block a user