You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
-Renamed GlobalConfig to ProjectSettings, makes more sense.
-Added system for feature overrides, it's pretty cool :)
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
/*************************************************************************/
|
||||
#include "file_access_memory.h"
|
||||
|
||||
#include "global_config.h"
|
||||
#include "project_settings.h"
|
||||
#include "map.h"
|
||||
#include "os/copymem.h"
|
||||
#include "os/dir_access.h"
|
||||
@@ -43,8 +43,8 @@ void FileAccessMemory::register_file(String p_name, Vector<uint8_t> p_data) {
|
||||
}
|
||||
|
||||
String name;
|
||||
if (GlobalConfig::get_singleton())
|
||||
name = GlobalConfig::get_singleton()->globalize_path(p_name);
|
||||
if (ProjectSettings::get_singleton())
|
||||
name = ProjectSettings::get_singleton()->globalize_path(p_name);
|
||||
else
|
||||
name = p_name;
|
||||
//name = DirAccess::normalize_path(name);
|
||||
|
||||
Reference in New Issue
Block a user