Files
S.P.L.U.R.T-Station-13/code/modules/unit_tests/projectiles.dm
2020-12-29 11:12:56 +08:00

6 lines
323 B
Plaintext

/datum/unit_test/projectile_movetypes/Run()
for(var/path in typesof(/obj/projectile))
var/obj/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!")