Prevent crashing on level change
This commit is contained in:
parent
5424b1bb69
commit
ecc72d0974
|
@ -429,7 +429,7 @@ void network_update(void) {
|
|||
}
|
||||
|
||||
// update level/area request timers
|
||||
struct NetworkPlayer* np = gNetworkPlayerLocal;
|
||||
/*struct NetworkPlayer* np = gNetworkPlayerLocal;
|
||||
if (np != NULL && !np->currLevelSyncValid) {
|
||||
gNetworkRequestLocationTimer++;
|
||||
if (gNetworkRequestLocationTimer > 30 * 10) {
|
||||
|
@ -452,7 +452,7 @@ void network_update(void) {
|
|||
network_send_level_request(np, npAny);
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue