Refactor code in world-core that spawns threads

This commit is contained in:
2024-02-27 17:01:26 -05:00
parent aaedf9e3f0
commit 2b426eefeb
6 changed files with 112 additions and 111 deletions

View File

@@ -87,6 +87,7 @@ public:
}
void do_choose_command(const StringVec &cmd) {
stdostream() << "Chose menu item: " << cmd[1] << std::endl;
eng::string action = gui_.get_action(sv::to_int64(cmd[1]));
if (action == "") {
stdostream() << "Invalid menu item #" << std::endl;