[Change] Don't count "LAND" as a service in Lua.

This commit is contained in:
Allanis 2014-06-05 17:59:57 +01:00
parent 47791ea3dd
commit 5d67c45570

View File

@ -426,7 +426,7 @@ static int planetL_class(lua_State* L) {
static int planetL_services(lua_State* L) {
LuaPlanet* p;
p = lua_toplanet(L, 1);
lua_pushnumber(L, p->p->services);
lua_pushnumber(L, (p->p->services & (~PLANET_SERVICE_LAND)));
return 1;
}