Closed domenukk closed 1 year ago
When trying to produce a worker at the moment the CommandCenter gets destroyed, the game stops at:
func _on_produce_worker_button_pressed(): > if unit.action != null and unit.action is ManagingProductionAction: unit.action.produce(WorkerUnit)
with Invalid get Index 'action' (on base: 'previously freed'). And an error log:
Invalid get Index 'action' (on base: 'previously freed').
E 0:01:27:0191 step: Error calling method from CallbackTweener: 'hide': Instance is null <C++ Error> Method/function failed. Returning: false <C++ Source> scene/animation/tween.cpp:679 @ step()
When trying to produce a worker at the moment the CommandCenter gets destroyed, the game stops at:
with
Invalid get Index 'action' (on base: 'previously freed').
And an error log: