1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Make OS_Windows::get_data_dir return unix path to be consistent with get_resource_path

This commit is contained in:
marynate
2014-07-06 20:31:11 +08:00
parent cd80d442a2
commit e68c3cb9f2

View File

@@ -1736,7 +1736,7 @@ String OS_Windows::get_data_dir() const {
if (has_environment("APPDATA")) {
return OS::get_singleton()->get_environment("APPDATA")+"\\"+an;
return (OS::get_singleton()->get_environment("APPDATA")+"\\"+an).replace("\\","/"); // windows path to unix path to be consistent with get_resource_path
}
}