mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 02:14:09 +03:00
Checkpoint autosaving
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
c870df4e5b
commit
8aec83daec
@@ -1206,6 +1206,13 @@ void scriptclass::run(void)
|
||||
{
|
||||
game.savedir = obj.entities[i].dir;
|
||||
}
|
||||
|
||||
if (game.checkpoint_saving)
|
||||
{
|
||||
bool success = game.savequick();
|
||||
game.gamesaved = success;
|
||||
game.gamesavefailed = !success;
|
||||
}
|
||||
}
|
||||
else if (words[0] == "gamestate")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user