mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-26 05:55:15 +00:00
Prevent packet processing when disconnected
This commit is contained in:
parent
ceaf41ae14
commit
d2f2fa83cf
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "pc/debuglog.h"
|
||||
|
||||
void packet_process(struct Packet* p) {
|
||||
if (gNetworkType == NT_NONE) { return; }
|
||||
if (p->levelAreaMustMatch) {
|
||||
extern s16 gCurrCourseNum, gCurrActStarNum, gCurrLevelNum, gCurrAreaIndex;
|
||||
bool levelAreaMismatch =
|
||||
|
|
Loading…
Reference in a new issue