mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
Update SingletonSystem.cs
This commit is contained in:
@@ -82,7 +82,7 @@ namespace GameBase
|
||||
|
||||
if (_singletons != null)
|
||||
{
|
||||
for (int i = 0; i < _singletons.Count; ++i)
|
||||
for (int i = _singletons.Count -1; i >= 0; i--)
|
||||
{
|
||||
_singletons[i].Release();
|
||||
}
|
||||
|
Reference in New Issue
Block a user