Adds new helpers for area calculation

Fixes champagne
This commit is contained in:
C.L
2022-09-30 00:59:37 -04:00
parent 74fecd3358
commit 100e62f4f2
2 changed files with 27 additions and 1 deletions
+1 -1
View File
@@ -47,7 +47,7 @@
to_chat(user, "<span class='warning'>[comp] is already in a shuttle.</span>")
return
// Count turfs in the area
var/list/turfs = get_area_turfs(my_area)
var/list/turfs = get_current_area_turfs(my_area)
if(turfs.len > max_area_turfs)
to_chat(user, "<span class='warning'>The new shuttle area is too large.</span>")
return