Added constants and cleaned up #weather command

This commit is contained in:
Kinglykrab
2022-10-13 17:50:33 -04:00
parent a87a9b3532
commit 2ec85304b7
9 changed files with 287 additions and 143 deletions
+3 -2
View File
@@ -1203,8 +1203,9 @@ luabind::adl::object lua_get_characters_in_instance(lua_State *L, uint16 instanc
}
int lua_get_zone_weather() {
if(!zone)
return 0;
if (!zone) {
return EQ::constants::WeatherTypes::None;
}
return zone->zone_weather;
}