You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Fix #if *_ENABLED inconsistencies, should check if defined
Co-authored-by: Caroline Joy Bell <halotroop2288@proton.me>
This commit is contained in:
@@ -316,7 +316,7 @@ void godotsharp_internal_new_csharp_script(Ref<CSharpScript> *r_dest) {
|
||||
}
|
||||
|
||||
void godotsharp_internal_editor_file_system_update_file(const String *p_script_path) {
|
||||
#if TOOLS_ENABLED
|
||||
#ifdef TOOLS_ENABLED
|
||||
// If the EditorFileSystem singleton is available, update the file;
|
||||
// otherwise, the file will be updated when the singleton becomes available.
|
||||
EditorFileSystem *efs = EditorFileSystem::get_singleton();
|
||||
|
||||
Reference in New Issue
Block a user