Function restart

#include <Geode/utils/general.hpp>voidrestart(
boolsaveData
,
boolsafeMode
)

Restarts the game, optionally saving the game data.

Parameters

saveData

Whether to save the game data

safeMode

Whether to restart in safe mode
Examples0