diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-21 23:26:44 -0500 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-21 23:26:44 -0500 |
| commit | 36c784589714f4056eeeba7747e7c20a09333b70 (patch) | |
| tree | 1f3f88efaba928f08e44c73f94cbe61648d6b7a4 /src/script_system.h | |
| parent | 65c866691aaa709fed249e4e8798068a68cfbae0 (diff) | |
| download | tanetane-36c784589714f4056eeeba7747e7c20a09333b70.tar.gz tanetane-36c784589714f4056eeeba7747e7c20a09333b70.tar.bz2 tanetane-36c784589714f4056eeeba7747e7c20a09333b70.zip | |
Debug commands run inside a coroutine now yay!
Also it turns out you totally don't need the runner thread.
Diffstat (limited to 'src/script_system.h')
| -rw-r--r-- | src/script_system.h | 1 |
1 files changed, 0 insertions, 1 deletions
| diff --git a/src/script_system.h b/src/script_system.h index 686415c..2d099e3 100644 --- a/src/script_system.h +++ b/src/script_system.h | |||
| @@ -26,7 +26,6 @@ private: | |||
| 26 | 26 | ||
| 27 | Game& game_; | 27 | Game& game_; |
| 28 | sol::state engine_; | 28 | sol::state engine_; |
| 29 | std::unique_ptr<sol::thread> runner_; | ||
| 30 | std::unique_ptr<sol::coroutine> callable_; | 29 | std::unique_ptr<sol::coroutine> callable_; |
| 31 | std::set<std::string> loadedScripts_; | 30 | std::set<std::string> loadedScripts_; |
| 32 | }; | 31 | }; |
