documentation index ◦ reference manual ◦ function index
Function: | renpy.clear_game_runtime | (): |
Resets the game runtime timer down to 0.
The game runtime counter counts the number of seconds that have elapsed while waiting for user input in the current context. (So it doesn't count time spent in the game menu.)
# Clear the game runtime timer, so it doesn't reflect time spent # sitting at the main menu. $ renpy.clear_game_runtime()