mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
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:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user