mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 02:56:43 +01:00
update the timestamp after Gamestate_Start to prevent high delta jump
This commit is contained in:
parent
d512b31889
commit
2d905ce3c0
1 changed files with 1 additions and 0 deletions
|
@ -467,6 +467,7 @@ SYMBOL_INTERNAL void libsuperderpy_mainloop(void* g) {
|
|||
tmp->pending_start = false;
|
||||
(*tmp->api->Gamestate_Start)(game, tmp->data);
|
||||
al_resume_timer(game->_priv.timer);
|
||||
game->_priv.timestamp = al_get_time();
|
||||
PrintConsole(game, "Gamestate \"%s\" started successfully.", tmp->name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue