diff options
Diffstat (limited to 'src/script/squirrel.cpp')
-rw-r--r-- | src/script/squirrel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/script/squirrel.cpp b/src/script/squirrel.cpp index 6737fd3ef..6955d2d24 100644 --- a/src/script/squirrel.cpp +++ b/src/script/squirrel.cpp @@ -508,3 +508,8 @@ void Squirrel::ResetCrashed() { this->crashed = false; } + +bool Squirrel::CanSuspend() +{ + return sq_can_suspend(this->vm); +} |