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