Files
S.P.L.U.R.T-Station-13/code/modules/unit_tests/projectiles.dm
2022-03-06 16:29:58 -05:00

6 lines
333 B
Plaintext

/datum/unit_test/projectile_movetypes/Run()
for(var/path in typesof(/obj/item/projectile))
var/obj/item/projectile/projectile = path
if(initial(projectile.movement_type) & PHASING)
Fail("[path] has default movement type PHASING. Piercing projectiles should be done using the projectile piercing system, not movement_types!")