Removed area.uid var and /area/New()

- var/uid was used in only a handful of places.  Because areas are singletons
  it is safe to replace the uid with \ref, areas don't get deleted.
- And with that /area/New() is empty, we can remove it!
This commit is contained in:
Leshana
2020-03-19 16:32:52 -04:00
parent 262faa38e4
commit 865303e481
4 changed files with 3 additions and 9 deletions

View File

@@ -85,7 +85,7 @@
icon = null
initial_loc = get_area(loc)
area_uid = initial_loc.uid
area_uid = "\ref[initial_loc]"
if (!id_tag)
assign_uid()
id_tag = num2text(uid)

View File

@@ -38,7 +38,7 @@
icon = null
initial_loc = get_area(loc)
area_uid = initial_loc.uid
area_uid = "\ref[initial_loc]"
if (!id_tag)
assign_uid()
id_tag = num2text(uid)