spice2x / spice2x.github.io

🌶️ spice2x is a spicier fork of SpiceTools with hundreds of bug fixes and new features 🌶️
https://spice2x.github.io/
GNU General Public License v3.0
87 stars 2 forks source link

Discrepency in documentation on lua scripts location #136

Closed ASleepyCat closed 3 months ago

ASleepyCat commented 3 months ago

Game and version

N/A

Version of spice2x

1.0-V-2024-01-30T01:30:45

Laptop

N/A

Attached log.txt file, if available

N/A

Describe the issue

In the spice API documentation, it mentions that spice will look for lua scripts under the scripts directory. In code, however, it actually looks under script. Running the config_example.lua script confirms this behaviour as nothing will happen under scripts, while a dialogue box appears under script after launching spicecfg.exe.

Could be a bug or not depending on which is the actual correct behaviour.

sp2xdev commented 3 months ago

Will get the README file fixed, thanks for reporting.