Skip to content

Commit

Permalink
Correct check
Browse files Browse the repository at this point in the history
  • Loading branch information
AyIong committed Apr 26, 2024
1 parent ad2e4ab commit 7ec22e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

/obj/item/gun/energy/laser/awaymission_aeg/onTransitZ(old_z, new_z)
. = ..()
if(is_away_level(new_z) || (!is_station_level(new_z) && is_level_reachable(new_z)))
if(is_away_level(new_z) || (!is_station_level(new_z) && check_level_trait(new_z, REACHABLE_SPACE_ONLY)))
if(ismob(loc))
to_chat(loc, span_notice("Ваш [src] активируется, начиная аккумулировать энергию из материи сущего."))
selfcharge = TRUE
Expand Down

0 comments on commit 7ec22e5

Please sign in to comment.