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