mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Manage time singleton
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user