More work on the login system, especially 'tangible.redirect'
This commit is contained in:
@@ -149,7 +149,7 @@ void TextGame::do_quit_command(const StringVec &cmd) {
|
||||
std::cerr << "q command (quit) takes no arguments" << std::endl;
|
||||
return;
|
||||
}
|
||||
exit(0);
|
||||
actor_id_ = 0;
|
||||
}
|
||||
|
||||
void TextGame::do_command(const StringVec &words) {
|
||||
@@ -184,6 +184,7 @@ void TextGame::run()
|
||||
console_.clear();
|
||||
while (true) {
|
||||
check_redirects();
|
||||
if (actor_id_ == 0) break;
|
||||
console_.add_stdin();
|
||||
int action = console_.action();
|
||||
if (action == LuaConsole::DO_LUA) {
|
||||
|
||||
Reference in New Issue
Block a user