mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
sanity check just in case
This commit is contained in:
parent
e54aec5407
commit
c63e28c28c
1 changed files with 6 additions and 2 deletions
|
|
@ -170,8 +170,12 @@ void bhv_star_spawn_loop(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
struct SyncObject* so = sync_object_get(o->oSyncID);
|
struct SyncObject* so = sync_object_get(o->oSyncID);
|
||||||
so->owned = sync_object_should_own(so->id);
|
if (so) {
|
||||||
if (so->owned) { network_send_object(o); }
|
so->owned = sync_object_should_own(so->id);
|
||||||
|
if (so->owned) { network_send_object(o); }
|
||||||
|
} else {
|
||||||
|
network_send_object(o);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
spawn_star_number();
|
spawn_star_number();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue