mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Change return type of get_configuration_warnings to PackedStringArray
This commit is contained in:
parent
908795301b
commit
aed3822a93
126 changed files with 201 additions and 203 deletions
|
|
@ -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."));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue