summaryrefslogtreecommitdiff
path: root/modules/multiplayer/multiplayer_synchronizer.cpp
diff options
context:
space:
mode:
authorMarc Gilleron <marc.gilleron@gmail.com>2022-09-19 16:43:15 +0100
committerMarc Gilleron <marc.gilleron@gmail.com>2022-09-19 16:43:15 +0100
commitaed3822a93a54e285bfb711ff91b4cb86ea94841 (patch)
tree5b2ce97169ae411015041e35005984d9cc5762b9 /modules/multiplayer/multiplayer_synchronizer.cpp
parent908795301b9e4fcf24b115329a48d7d295c13a1a (diff)
Change return type of `get_configuration_warnings` to `PackedStringArray`
Diffstat (limited to 'modules/multiplayer/multiplayer_synchronizer.cpp')
-rw-r--r--modules/multiplayer/multiplayer_synchronizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/multiplayer/multiplayer_synchronizer.cpp b/modules/multiplayer/multiplayer_synchronizer.cpp
index 01ecd1a7de..2c3ebccaeb 100644
--- a/modules/multiplayer/multiplayer_synchronizer.cpp
+++ b/modules/multiplayer/multiplayer_synchronizer.cpp
@@ -94,8 +94,8 @@ void MultiplayerSynchronizer::_update_process() {
}
}
-TypedArray<String> MultiplayerSynchronizer::get_configuration_warnings() const {
- TypedArray<String> warnings = Node::get_configuration_warnings();
+PackedStringArray MultiplayerSynchronizer::get_configuration_warnings() const {
+ PackedStringArray warnings = Node::get_configuration_warnings();
if (root_path.is_empty() || !has_node(root_path)) {
warnings.push_back(RTR("A valid NodePath must be set in the \"Root Path\" property in order for MultiplayerSynchronizer to be able to synchronize properties."));