mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Style: Remove redundant DEBUG_METHODS_ENABLED
• Replaced with functionally identical and far more ubiquitous `DEBUG_ENABLED`
This commit is contained in:
@@ -585,7 +585,7 @@ static bool _on_core_api_assembly_loaded() {
|
||||
debug = true;
|
||||
#else
|
||||
debug = false;
|
||||
#endif
|
||||
#endif // DEBUG_ENABLED
|
||||
|
||||
GDMonoCache::managed_callbacks.GD_OnCoreApiAssemblyLoaded(debug);
|
||||
|
||||
@@ -690,13 +690,13 @@ void GDMono::_try_load_project_assembly() {
|
||||
#endif
|
||||
|
||||
void GDMono::_init_godot_api_hashes() {
|
||||
#ifdef DEBUG_METHODS_ENABLED
|
||||
#ifdef DEBUG_ENABLED
|
||||
get_api_core_hash();
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
get_api_editor_hash();
|
||||
#endif // TOOLS_ENABLED
|
||||
#endif // DEBUG_METHODS_ENABLED
|
||||
#endif // DEBUG_ENABLED
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user