Return nil if value not found in luaGetValue()

This commit is contained in:
Damjan Adamic
2014-04-21 20:17:30 +02:00
parent 36409c37f4
commit 3815ab8c45
+1 -1
View File
@@ -131,7 +131,7 @@ static int luaGetValue(lua_State *L)
return 1;
}
}
lua_pushnil(L);
return 0;
}