You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Change return type of get_configuration_warnings to PackedStringArray
This commit is contained in:
@@ -180,8 +180,8 @@ void Timer::_set_process(bool p_process, bool p_force) {
|
||||
processing = p_process;
|
||||
}
|
||||
|
||||
TypedArray<String> Timer::get_configuration_warnings() const {
|
||||
TypedArray<String> warnings = Node::get_configuration_warnings();
|
||||
PackedStringArray Timer::get_configuration_warnings() const {
|
||||
PackedStringArray warnings = Node::get_configuration_warnings();
|
||||
|
||||
if (wait_time < 0.05 - CMP_EPSILON) {
|
||||
warnings.push_back(RTR("Very low timer wait times (< 0.05 seconds) may behave in significantly different ways depending on the rendered or physics frame rate.\nConsider using a script's process loop instead of relying on a Timer for very low wait times."));
|
||||
|
||||
Reference in New Issue
Block a user