mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-18 12:28:26 +00:00
Added constants and cleaned up #weather command
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user