GodotModding / GodotModding/godot-mod-loader

Config names are forced to lowercase even when json files are saved without forced lowercase

Open
#593 0 comments 0 reactions 0 assignees View on GitHub
3.x 4.x bug
Dominant language
GDScript
Stars
675
Forks
54
Avg merge
2m
Merged PRs (30d)
2

Description

Configs cause confusion due to current case handling.
Reloading configs forces their names to lowercase.

Example:
Create config `ModLoaderConfig.create_config("MyMod", "MyConfig", {}`.
Config gets saved as `MyConfig.json`.
ModLoader reloads configs.
Calling `ModLoaderConfig.get_configs("MyMod")` reveals a `default` and `myconfig` configs, and `ModLoaderConfig.get_config("MyMod", "MyConfig")` returns null.

https://github.com/GodotModding/godot-mod-loader/blob/58d05cad245233a4cc6933ddd44b7fdc62a2edf6/addons/mod_loader/resources/mod_config.gd#L27

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.