Removed saving and loading on play/pause

This commit is contained in:
John Alanbrook 2023-02-06 23:21:00 +00:00
parent cdff383a7a
commit 4d7d665a5e

View file

@ -231,10 +231,6 @@ int sim_playing() { return sim_play; }
int sim_paused() { return (!sim_play && gameobjects_saved()); } int sim_paused() { return (!sim_play && gameobjects_saved()); }
void sim_start() { void sim_start() {
/* Save starting state of everything */
if (!gameobjects_saved())
gameobject_saveall();
sim_play = 1; sim_play = 1;
} }
@ -245,7 +241,6 @@ void sim_pause() {
void sim_stop() { void sim_stop() {
/* Revert starting state of everything from sim_start */ /* Revert starting state of everything from sim_start */
sim_play = 0; sim_play = 0;
gameobject_loadall();
} }
void sim_step() { void sim_step() {