unify structure info.

This commit is contained in:
gnembon committed 2020-05-04 15:48:45 -03:00
1 parent 15ac3edc19
commit ad43784ad6
6 files changed
+83 -45

No files matched your search

@@ -89,7 +89,7 @@ __structure_renderer(player_name) ->
for (starts, l(position, name) = _;
structure_data = structures(position):name;
if (!structure_data, continue()); // messed up references - shouldn't happen
structure_pieces = structures(position, name);
structure_pieces = structures(position, name):'pieces';
if (!structure_pieces, continue()); // messed up references - shouldn't happen
l(from, to) = structure_data;
total_size = _euclidean(from, to);