Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiLko authored Mar 15, 2024
1 parent 0a39ab5 commit dfd67e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1431,6 +1431,8 @@ class $modify(PlayLayer) {
void storeCheckpoint(CheckpointObject* cp) {
if (recorder.state == state::recording)
checkpoints[cp] = recorder.currentFrame();

PlayLayer::storeCheckpoint(cp);
}

void addObject(GameObject* obj) {
Expand Down

0 comments on commit dfd67e2

Please sign in to comment.