fix stack issue right at init
This commit is contained in:
parent
3c72680808
commit
8e49a333c3
|
|
@ -56,7 +56,7 @@ public class Runner : IDisposable
|
||||||
#if LOG
|
#if LOG
|
||||||
_logger.Method();
|
_logger.Method();
|
||||||
#endif
|
#endif
|
||||||
if (Stack.Position < 0) {
|
if (Stack.Position != 0) {
|
||||||
#if LOG
|
#if LOG
|
||||||
_logger.Warn($"Something went wrong, stack cursor is at {Stack.Position}. Resetting Stack.");
|
_logger.Warn($"Something went wrong, stack cursor is at {Stack.Position}. Resetting Stack.");
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue