Prevent packet_save_set_flag from looping

This commit is contained in:
MysterD 2021-06-26 16:54:43 -07:00
parent e85e6b9983
commit b7795fd9d1

View file

@ -17,5 +17,7 @@ void network_send_save_set_flag(u32 flags) {
void network_receive_save_set_flag(struct Packet* p) {
u32 flags;
packet_read(p, &flags, sizeof(u32));
sIgnoreSendSaveSetFlag = true;
save_file_set_flags(flags);
sIgnoreSendSaveSetFlag = false;
}