Skip to content

Commit

Permalink
shit was busted
Browse files Browse the repository at this point in the history
you must at least see where you want to teleport into
  • Loading branch information
tioluko authored Sep 6, 2024
1 parent f0b72e6 commit 0c93af2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions code/modules/spells/roguetown/arcane/blink.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
. = ..()
if(isopenturf(targets[1]))
var/atom/location = get_turf(targets[1])
new /obj/effect/temp_visual/swap(get_turf(user))
new /obj/effect/temp_visual/swap(get_turf(location))
do_teleport(user, location, forceMove = TRUE, channel = TELEPORT_CHANNEL_MAGIC)
return TRUE
else
return FALSE
if(location in oview(range,user))
new /obj/effect/temp_visual/swap(get_turf(user))
new /obj/effect/temp_visual/swap(get_turf(location))
do_teleport(user, location, forceMove = TRUE, channel = TELEPORT_CHANNEL_MAGIC)
return TRUE
return FALSE

0 comments on commit 0c93af2

Please sign in to comment.