Skip to content

Commit

Permalink
don't invalidate achievements if the console is dismissed empty
Browse files Browse the repository at this point in the history
  • Loading branch information
treellama committed May 14, 2024
1 parent 9e45153 commit 3b43f25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source_Files/Lua/lua_script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,10 @@ bool LuaState::Run()

bool LuaState::ExecuteCommand(const std::string& line)
{
if (line.size() == 0) {
return false;
}

auto success = true;

std::string buffer;
Expand Down

0 comments on commit 3b43f25

Please sign in to comment.