1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

[Core] Align naming and args of (SceneTree)Timer time scale methods

Renamed `get_ignore_time_scale` to `is_ignoring_time_scale` following general naming standards.
This commit is contained in:
AThousandShips
2024-12-22 15:20:27 -05:00
parent 0f95e9f8e6
commit 8d1a3e2a76
5 changed files with 8 additions and 8 deletions

View File

@@ -94,7 +94,7 @@ void SceneTreeTimer::set_ignore_time_scale(bool p_ignore) {
ignore_time_scale = p_ignore;
}
bool SceneTreeTimer::is_ignore_time_scale() {
bool SceneTreeTimer::is_ignoring_time_scale() {
return ignore_time_scale;
}
@@ -657,7 +657,7 @@ void SceneTree::process_timers(double p_delta, bool p_physics_frame) {
}
double time_left = E->get()->get_time_left();
if (E->get()->is_ignore_time_scale()) {
if (E->get()->is_ignoring_time_scale()) {
time_left -= Engine::get_singleton()->get_process_step();
} else {
time_left -= p_delta;