[Commands] Remove extraneous else from #weather (#2819)

# Notes
- Condition falls back to sending message and can't turn weather off.
This commit is contained in:
Alex King 2023-02-01 06:05:32 -05:00 committed by GitHub
parent 60707a14db
commit ee6f6f683c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,10 +22,6 @@ void command_weather(Client *c, const Seperator *sep)
weather_message = "Raindrops begin to fall from the sky."; weather_message = "Raindrops begin to fall from the sky.";
new_weather = EQ::constants::WeatherTypes::Raining; new_weather = EQ::constants::WeatherTypes::Raining;
new_intensity = 0x01; // This is how it's done in Fear, and you can see a decent distance with it at this value new_intensity = 0x01; // This is how it's done in Fear, and you can see a decent distance with it at this value
} else {
c->Message(Chat::White, "Usage: #weather [0|1|2] - [Off|Rain|Snow]");
c->Message(Chat::White, "Usage: #weather 3 [Type] [Intensity] - Manually set weather type and intensity");
return;
} }
zone->zone_weather = new_weather; zone->zone_weather = new_weather;