mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-28 18:29:49 +02:00
change ">" to "..." (from mniip)
This commit is contained in:
@@ -2141,7 +2141,7 @@ int LuaScriptInterface::Command(std::string command)
|
||||
{
|
||||
lastError = luacon_geterror();
|
||||
if(std::string(lastError).find("near '<eof>'")!=-1) //the idea stolen from lua-5.1.5/lua.c
|
||||
lastError = ">";
|
||||
lastError = "...";
|
||||
else
|
||||
lastCode = "";
|
||||
}
|
||||
|
Reference in New Issue
Block a user