You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[Multiplayer] Fix crash in spawner get_spawnable_scene.
This commit is contained in:
@@ -101,6 +101,7 @@ int MultiplayerSpawner::get_spawnable_scene_count() const {
|
||||
return spawnable_scenes.size();
|
||||
}
|
||||
String MultiplayerSpawner::get_spawnable_scene(int p_idx) const {
|
||||
ERR_FAIL_INDEX_V(p_idx, (int)spawnable_scenes.size(), "");
|
||||
return spawnable_scenes[p_idx].path;
|
||||
}
|
||||
void MultiplayerSpawner::clear_spawnable_scenes() {
|
||||
|
||||
Reference in New Issue
Block a user