Skip to content

Commit

Permalink
ChangeElse
Browse files Browse the repository at this point in the history
  • Loading branch information
Steelpoint committed Jun 25, 2023
1 parent 7a401c9 commit f6744e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/game/objects/effects/landmarks/landmarks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -228,17 +228,17 @@
GLOB.yautja_teleport_descs[T.loc.name + T.loc_to_string()] = src

/obj/effect/landmark/yautja_teleport/Destroy()
var/turf/turf = get_turf(src)
var/turf/turf = get_turf(src)
var/index = turf.loc.name + turf.loc_to_string()
if(is_mainship_level(z))
GLOB.mainship_yautja_teleports -= src
if(GLOB.mainship_yautja_desc.Find(index))
GLOB.mainship_yautja_desc[index] = null
GLOB.mainship_yautja_desc[index] = null
GLOB.mainship_yautja_desc -= index
else
GLOB.yautja_teleports -= src
if(GLOB.yautja_teleport_descs.Find(index))
GLOB.yautja_teleport_descs[index] = null
GLOB.yautja_teleport_descs[index] = null
GLOB.yautja_teleport_descs -= index
return ..()

Expand Down

0 comments on commit f6744e2

Please sign in to comment.