diff --git a/Templates/BaseGame/game/tools/navEditor/navEditor.tscript b/Templates/BaseGame/game/tools/navEditor/navEditor.tscript index 14d758923..75a84977b 100644 --- a/Templates/BaseGame/game/tools/navEditor/navEditor.tscript +++ b/Templates/BaseGame/game/tools/navEditor/navEditor.tscript @@ -463,8 +463,10 @@ function NavEditorGui::onPlayerSelected(%this, %flags) { %this.getPlayer().aiController = new AIController(){ ControllerData = aiPlayerControl; }; %this.getPlayer().setAIController(%this.getPlayer().aiController); + NavMeshIgnore(%this.getPlayer(), true); + %this.getPlayer().setDamageState("Enabled"); } - NavMeshIgnore(%this.getPlayer(), true); + updateLinkData(NavEditorOptionsWindow-->TestProperties, %flags); }