mirror of https://github.com/dsrw/enu.git
Fixed picking instances spawned from other instances
This commit is contained in:
parent
7f7841db92
commit
5118a408a6
|
@ -234,7 +234,7 @@ proc fire(self: Build) =
|
|||
let transform = Transform.init(origin = global_point)
|
||||
state.units += Bot.init(transform = transform)
|
||||
elif state.tool == CodeMode:
|
||||
let root = self.find_root(true)
|
||||
let root = self.find_root
|
||||
state.open_unit = root
|
||||
|
||||
proc is_moving(self: Build, move_mode: int): bool =
|
||||
|
|
Loading…
Reference in New Issue