Skip to content

Commit

Permalink
Revert picture batch-delete fix
Browse files Browse the repository at this point in the history
  • Loading branch information
notdistorted authored Sep 8, 2024
1 parent cead106 commit 1f5990f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3086,7 +3086,7 @@ bool Game_Interpreter::CommandErasePicture(lcf::rpg::EventCommand const& com) {
Output::Error("ErasePicture: Requested invalid picture id ({})", i);
}

Main_Data::game_pictures->Erase(i);
Main_Data::game_pictures->Erase(pic_id);

GMI().PictureErased(i);
}
Expand Down

0 comments on commit 1f5990f

Please sign in to comment.