| 296 | } |
| 297 | |
| 298 | const Variant MultiplayerSpawner::get_spawn_argument(const ObjectID &p_id) const { |
| 299 | const SpawnInfo *info = tracked_nodes.getptr(p_id); |
| 300 | return info ? info->args : Variant(); |
| 301 | } |
| 302 | |
| 303 | Node *MultiplayerSpawner::instantiate_scene(int p_id) { |
| 304 | ERR_FAIL_COND_V_MSG(spawn_limit && spawn_limit <= tracked_nodes.size(), nullptr, "Spawn limit reached!"); |
no test coverage detected