spawn area nodes improvements
This commit is contained in:
@@ -77,7 +77,7 @@ pub const Areas = struct {
|
||||
return valuesToRandomise;
|
||||
}
|
||||
|
||||
pub fn getNodes(self: *Areas) ![]str_node.Node {
|
||||
pub fn getNodes(self: *const Areas) ![]str_node.Node {
|
||||
var nodes = try self.allocator.alloc(str_node.Node, self.areas.len);
|
||||
|
||||
for (0..self.areas.len) |i| {
|
||||
|
Reference in New Issue
Block a user