mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 07:10:46 -05:00
Remove outdated weather code
This commit is contained in:
@@ -2422,13 +2422,8 @@ function Battle(frame, logFrame, noPreload) {
|
||||
self.weatherMinTimeLeft = 0;
|
||||
} else {
|
||||
self.message('<small>' + newWeather.startMessage + '</small>');
|
||||
if (self.turn === 0) {
|
||||
self.weatherTimeLeft = 0;
|
||||
self.weatherMinTimeLeft = 0;
|
||||
} else {
|
||||
self.weatherTimeLeft = 8;
|
||||
self.weatherMinTimeLeft = 5;
|
||||
}
|
||||
self.weatherTimeLeft = 8;
|
||||
self.weatherMinTimeLeft = 5;
|
||||
}
|
||||
}
|
||||
if (self.weather && !newWeather) {
|
||||
|
||||
Reference in New Issue
Block a user