Skip to content

Commit

Permalink
made turf list have turf type
Browse files Browse the repository at this point in the history
  • Loading branch information
covertcorvid committed Aug 10, 2024
1 parent 7c4171f commit 3056b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/__HELPERS/areas.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ GLOBAL_LIST_INIT(typecache_powerfailure_safe_areas, typecacheof(list(
var/static/blacklisted_areas = typecacheof(list(
/area/space,
))
var/list/turfs = detect_room(get_turf(creator), area_or_turf_fail_types)
var/list/turf/turfs = detect_room(get_turf(creator), area_or_turf_fail_types)
if(!turfs)
to_chat(creator, "<span class='warning'>The new area must be completely airtight and not a part of a shuttle.</span>")
return
Expand Down

0 comments on commit 3056b73

Please sign in to comment.