diff --git a/src/eressea/lua/building.cpp b/src/eressea/lua/building.cpp index 878469829..534075ad4 100644 --- a/src/eressea/lua/building.cpp +++ b/src/eressea/lua/building.cpp @@ -56,7 +56,10 @@ lc_age(struct attrib * a) if (is_function(L, fname)) { try { if (fparam) { - retval = luabind::call_function(L, fname, *b, fparam); +#ifdef TUNNELS /* TODO: Why does this crash? */ + std::string param(fparam); + retval = luabind::call_function(L, fname, *b, param); +#endif } else { retval = luabind::call_function(L, fname, *b); } diff --git a/src/res/hse4.xml b/src/res/hse4.xml index f43fc081e..597f0c5a8 100644 --- a/src/res/hse4.xml +++ b/src/res/hse4.xml @@ -72,8 +72,7 @@ - - +