summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-01-20 11:18:54 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2012-01-20 11:18:54 +0100
commit9fc31e3d046a19c936f7c6e1e5ab703ce44f9218 (patch)
treea69b8a1f4d52ddeec29c32ce1540cefbbc8a6e4c
parent3488ab9a9526b1d999beb354b5318fb28cf917de (diff)
Add missing prefix to cave search.
-rw-r--r--client/luapraxisd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/luapraxisd.cc b/client/luapraxisd.cc
index 11d619e..974a706 100644
--- a/client/luapraxisd.cc
+++ b/client/luapraxisd.cc
@@ -85,7 +85,7 @@ static int px_cavelist(lua_State *L)
pxu = (px_userdata *)luaL_checkudata(L, 1, "Praxisd");
luaL_argcheck(L, pxu, 1, "Praxisd expected");
- QVector<cave_t> cavelist = pxu->px->diverse_get_cave("");
+ QVector<cave_t> cavelist = pxu->px->diverse_get_cave("C");
if(pxu->px->hasError()) {
lua_pushstring(L, pxu->px->errorString().toStdString().c_str());
lua_error(L);