summary refs log tree commit diff stats
path: root/src/script_system.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-21 23:26:44 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-21 23:26:44 -0500
commit36c784589714f4056eeeba7747e7c20a09333b70 (patch)
tree1f3f88efaba928f08e44c73f94cbe61648d6b7a4 /src/script_system.h
parent65c866691aaa709fed249e4e8798068a68cfbae0 (diff)
downloadtanetane-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.h1
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};