changed error text

pull/398/head
GottfriedSp 2018-07-05 00:51:53 +02:00 committed by Hleb Valoshka
parent ef033ddf7f
commit 6945c698b3
1 changed files with 1 additions and 1 deletions

View File

@ -3343,7 +3343,7 @@ static int celestia_requestsystemaccess(lua_State* l)
static int celestia_getscriptpath(lua_State* l)
{
// ignore possible argument for future extensions
Celx_CheckArgs(l, 1, 1, "No argument expected for celestia:requestsystemaccess()");
Celx_CheckArgs(l, 1, 1, "No argument expected for celestia:getscriptpath()");
this_celestia(l);
lua_pushstring(l, "celestia-scriptpath");
lua_gettable(l, LUA_REGISTRYINDEX);