Apply suggestions from code review

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
S34N
2021-10-12 22:50:29 +01:00
committed by GitHub
parent bb89924e6e
commit 588f3fa795
+3 -3
View File
@@ -57,15 +57,15 @@
if(!QDELETED(target))
if(!(target.Move(mobloc)))
for(var/turf/T in orange(7))
if(istype(T, /turf/space))
if(isspaceturf(T))
continue
if(T && target.Move(T))
target.canmove = 1
target.canmove = TRUE
return
for(var/turf/space/S in orange(7)) //loop for space turfs in case there were no normal ones last loop
if(S && target.Move(S))
break
target.canmove = 1 //if there are no valid tiles in a range of 7, just let them spawn wherever they are currently
target.canmove = TRUE //if there are no valid tiles in a range of 7, just let them spawn wherever they are currently
/obj/effect/proc_holder/spell/targeted/ethereal_jaunt/proc/jaunt_steam(mobloc)
var/datum/effect_system/steam_spread/steam = new /datum/effect_system/steam_spread()