Defining Part 4 - Code cleanup toward defines (... and the rest) (#19388)

* I wasn't done

* nits
This commit is contained in:
Vi3trice
2022-10-28 19:28:23 +02:00
committed by GitHub
parent 9400729a28
commit 03ce2920e1
127 changed files with 268 additions and 257 deletions
+1 -1
View File
@@ -63,7 +63,7 @@
light_color = LIGHT_COLOR_DARKBLUE
/obj/item/projectile/beam/pulse/on_hit(atom/target, blocked = 0)
if(istype(target,/turf/) || isstructure(target))
if(isturf(target) || isstructure(target))
target.ex_act(2)
..()
@@ -275,7 +275,7 @@
/obj/item/projectile/ornament/on_hit(atom/target) //knockback
..()
if(istype(target, /turf))
if(isturf(target))
return 0
var/obj/T = target
var/throwdir = get_dir(firer,target)