Skip to content

Commit

Permalink
Merge pull request #2966 from tong/issue-1570
Browse files Browse the repository at this point in the history
Keep WalkNavigation init function if arm_debug
  • Loading branch information
luboslenco committed Nov 8, 2023
2 parents 83598ee + 3c95942 commit 0d2a0d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/armory/trait/WalkNavigation.hx
Expand Up @@ -26,6 +26,7 @@ class WalkNavigation extends Trait {
notifyOnInit(init);
}

#if arm_debug @:keep #end
function init() {
keyboard = Input.getKeyboard();
gamepad = Input.getGamepad();
Expand Down

0 comments on commit 0d2a0d5

Please sign in to comment.