Skip to content

Commit

Permalink
Use LinkDemoMode enum instead of int
Browse files Browse the repository at this point in the history
  • Loading branch information
themikelester committed Dec 7, 2024
1 parent 6ef6536 commit fc409ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZeldaWindWaker/d_a.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5101,7 +5101,7 @@ class d_a_py_lk extends fopAc_ac_c implements ModeFuncExec<d_a_py_lk_mode> {
override execute(globals: dGlobals, deltaTimeFrames: number): void {
// Update the current proc based on demo data
this.setDemoData(globals);
if (this.demoMode != 5) {
if (this.demoMode != LinkDemoMode.WaitTurn) {
this.changeDemoProc(globals);
}

Expand Down

0 comments on commit fc409ab

Please sign in to comment.