Skip to content

Commit

Permalink
oops I broke online
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Feb 4, 2024
1 parent c8d54ba commit 0af1de6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/game_api/rpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include "math.hpp" // for AABB
#include "memory.hpp" // for write_mem_prot, write_mem_recoverable
#include "movable.hpp" // for Movable
#include "online.hpp" // for Online
#include "particles.hpp" // for ParticleEmitterInfo
#include "screen.hpp" //
#include "search.hpp" // for get_address, find_inst
Expand Down Expand Up @@ -1946,6 +1947,9 @@ StateMemory* get_save_state(int slot)

void invalidate_save_states()
{
auto online = get_online();
if (online->lobby.code != 0)
return;
for (int i = 1; i <= 4; ++i)
{
auto state = get_save_state(i);
Expand Down

0 comments on commit 0af1de6

Please sign in to comment.