Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
Reset optionIndex when initiating a menu3d (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiin committed Jul 11, 2023
1 parent 3dfaad7 commit 92069ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/client/rmlui/menu3d/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const InternalFunctions = {
internalOptions = options;
internalPos = pos;
maxDistance = distance;
optionIndex = 0;

// Options Setup
const optionsElement = document.getElementByID('options');
Expand Down

0 comments on commit 92069ee

Please sign in to comment.