You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Typos
This commit is contained in:
@@ -529,7 +529,7 @@ void Performance::add_custom_monitor(const StringName &p_id, const Callable &p_c
|
||||
}
|
||||
|
||||
void Performance::remove_custom_monitor(const StringName &p_id) {
|
||||
ERR_FAIL_COND_MSG(!has_custom_monitor(p_id), "Custom monitor with id '" + String(p_id) + "' doesn't exists.");
|
||||
ERR_FAIL_COND_MSG(!has_custom_monitor(p_id), "Custom monitor with id '" + String(p_id) + "' doesn't exist.");
|
||||
_monitor_map.erase(p_id);
|
||||
_monitor_modification_time = OS::get_singleton()->get_ticks_usec();
|
||||
}
|
||||
@@ -539,7 +539,7 @@ bool Performance::has_custom_monitor(const StringName &p_id) {
|
||||
}
|
||||
|
||||
Variant Performance::get_custom_monitor(const StringName &p_id) {
|
||||
ERR_FAIL_COND_V_MSG(!has_custom_monitor(p_id), Variant(), "Custom monitor with id '" + String(p_id) + "' doesn't exists.");
|
||||
ERR_FAIL_COND_V_MSG(!has_custom_monitor(p_id), Variant(), "Custom monitor with id '" + String(p_id) + "' doesn't exist.");
|
||||
bool error;
|
||||
String error_message;
|
||||
Variant return_value = _monitor_map[p_id].call(error, error_message);
|
||||
|
||||
Reference in New Issue
Block a user