Update Node::get_configuration_warnings signature

This commit is contained in:
RedMser committed 2024-02-08 23:05:20 +01:00
1 parent bf37a9bac6
commit d3852deaa4
132 files changed
+217 -213

No files matched your search

+2 -2
View File
@@ -87,8 +87,8 @@ void MultiplayerSpawner::_get_property_list(List<PropertyInfo> *p_list) const {
}
#endif
PackedStringArray MultiplayerSpawner::get_configuration_warnings() const {
PackedStringArray warnings = Node::get_configuration_warnings();
Array MultiplayerSpawner::get_configuration_warnings() const {
Array warnings = Node::get_configuration_warnings();
if (spawn_path.is_empty() || !has_node(spawn_path)) {
warnings.push_back(RTR("A valid NodePath must be set in the \"Spawn Path\" property in order for MultiplayerSpawner to be able to spawn Nodes."));