1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Manage time singleton

This commit is contained in:
rune-scape
2023-12-31 02:50:39 -08:00
parent 5034478611
commit c5bcc3ae86
3 changed files with 3 additions and 11 deletions

View File

@@ -189,9 +189,6 @@ static const uint8_t MONTH_DAYS_TABLE[2][12] = {
Time *Time::singleton = nullptr;
Time *Time::get_singleton() {
if (!singleton) {
memnew(Time);
}
return singleton;
}