Fixed picking instances spawned from other instances

This commit is contained in:
Scott Wadden 2023-12-06 17:51:55 -04:00
parent 7f7841db92
commit 5118a408a6
1 changed files with 1 additions and 1 deletions

View File

@ -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 =