mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 12:05:11 +00:00
Prevent packet_save_set_flag from looping
This commit is contained in:
parent
e85e6b9983
commit
b7795fd9d1
1 changed files with 2 additions and 0 deletions
|
@ -17,5 +17,7 @@ void network_send_save_set_flag(u32 flags) {
|
||||||
void network_receive_save_set_flag(struct Packet* p) {
|
void network_receive_save_set_flag(struct Packet* p) {
|
||||||
u32 flags;
|
u32 flags;
|
||||||
packet_read(p, &flags, sizeof(u32));
|
packet_read(p, &flags, sizeof(u32));
|
||||||
|
sIgnoreSendSaveSetFlag = true;
|
||||||
save_file_set_flags(flags);
|
save_file_set_flags(flags);
|
||||||
|
sIgnoreSendSaveSetFlag = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue