hydra icon indicating copy to clipboard operation
hydra copied to clipboard

[BUG] Write a title for your bug

Open belzera opened this issue 9 months ago • 0 comments

Describe the bug

Don't Open

Steps to Reproduce

When Open

Expected behavior

This error occurs because the logger variable is being accessed before it has been properly initialized. In JavaScript (ES6+), variables declared with let or const are not hoisted in a way that allows access before their declaration. Attempting to use them earlier in the code causes a ReferenceError.

In this case, the SystemPath.getPath function is trying to use logger, but logger hasn't been initialized yet at that point in the execution.

Additional information and data

Image

Operating System

Windows 10

Hydra Version

3.4.8

Before opening this Issue

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.
  • [x] I am aware that Hydra team does not offer any support or help regarding the downloaded games.
  • [x] I have read the Frequently Asked Questions (FAQ).

belzera avatar May 08 '25 22:05 belzera