Skip to content

Commit f8be1f4

Browse files
committed
removed _custom_spawner from error message
1 parent 084d5d4 commit f8be1f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/multiplayer/scene_replication_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Error SceneReplicationInterface::on_replication_start(Object *p_obj, Variant p_c
238238

239239
if (pending_spawn == p_obj->get_instance_id() && sync->get_multiplayer_authority() == pending_spawn_remote) {
240240
// Try to apply synchronizer Net ID
241-
ERR_FAIL_COND_V_MSG(pending_sync_net_ids.is_empty(), ERR_INVALID_DATA, vformat("The MultiplayerSynchronizer at path \"%s\" is unable to process the pending spawn since it has no network ID. This might happen when changing the multiplayer authority during the \"_ready\" callback. Make sure to only change the authority of multiplayer synchronizers during \"_enter_tree\" or the \"_spawn_custom\" callback of their multiplayer spawner.", sync->get_path()));
241+
ERR_FAIL_COND_V_MSG(pending_sync_net_ids.is_empty(), ERR_INVALID_DATA, vformat("The MultiplayerSynchronizer at path \"%s\" is unable to process the pending spawn since it has no network ID. This might happen when changing the multiplayer authority during the \"_ready\" callback. Make sure to only change the authority of multiplayer synchronizers during the \"_enter_tree\" callback of their multiplayer spawner.", sync->get_path()));
242242
ERR_FAIL_COND_V(!peers_info.has(pending_spawn_remote), ERR_INVALID_DATA);
243243
uint32_t net_id = pending_sync_net_ids.front()->get();
244244
pending_sync_net_ids.pop_front();

0 commit comments

Comments
 (0)