Skip to content

Commit

Permalink
Reset stack when resetting transform
Browse files Browse the repository at this point in the history
  • Loading branch information
RecursivePineapple committed Feb 11, 2025
1 parent 6069013 commit 7bdab95
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public static void onKeyPressed(KeyInputEvent event) {

if (InteractionConfig.resetTransform) {
Messages.ClearTransform.sendToServer();
Messages.ResetArray.sendToServer();
}
}

Expand All @@ -74,6 +75,7 @@ public static void onKeyPressed(KeyInputEvent event) {

if (InteractionConfig.resetTransform) {
Messages.ClearTransform.sendToServer();
Messages.ResetArray.sendToServer();
}
}

Expand All @@ -98,12 +100,11 @@ public static void onKeyPressed(KeyInputEvent event) {

if (InteractionConfig.resetTransform) {
Messages.ClearTransform.sendToServer();
Messages.ResetArray.sendToServer();
}

return;
}

return;
}

/**
Expand Down

0 comments on commit 7bdab95

Please sign in to comment.