Refactor code in world-core that spawns threads
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user