syncing still not working :(((

This commit is contained in:
EmeraldLockdown 2026-03-01 23:26:22 -06:00
parent 0db3bd8812
commit 99beef174f

View file

@ -100,7 +100,9 @@ void network_send_join(struct Packet* joinRequestPacket) {
// do connection event
network_player_connected(NPT_CLIENT, globalIndex, sJoinRequestPlayerModel, &sJoinRequestPlayerPalette, sJoinRequestPlayerName, sJoinRequestDiscordId);
fs_file_t* fp = fs_open(SAVE_FILENAME_OLD);
char filePath[256];
save_file_get_dir(gCurrSaveFileNum - 1, filePath, 256);
fs_file_t* fp = fs_open(fs_get_write_path(filePath));
if (fp != NULL) {
fs_read(fp, eeprom, EEPROM_SIZE);
fs_close(fp);