You've already forked godot
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:
@@ -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