[Change] Don't count "LAND" as a service in Lua.
This commit is contained in:
parent
47791ea3dd
commit
5d67c45570
@ -426,7 +426,7 @@ static int planetL_class(lua_State* L) {
|
|||||||
static int planetL_services(lua_State* L) {
|
static int planetL_services(lua_State* L) {
|
||||||
LuaPlanet* p;
|
LuaPlanet* p;
|
||||||
p = lua_toplanet(L, 1);
|
p = lua_toplanet(L, 1);
|
||||||
lua_pushnumber(L, p->p->services);
|
lua_pushnumber(L, (p->p->services & (~PLANET_SERVICE_LAND)));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user