static int l_starsystem_attr_explored(lua_State *l)
{
	PROFILE_SCOPED()
	StarSystem *s = LuaObject<StarSystem>::CheckFromLua(1);
	lua_pushboolean(l, !s->GetUnexplored());
	return 1;
}
Exemple #2
0
static int l_starsystem_attr_explored(lua_State *l)
{
    StarSystem *s = LuaStarSystem::CheckFromLua(1);
    lua_pushboolean(l, !s->GetUnexplored());
    return 1;
}