[Client] Always stop sending weather updates when moving to an interior

pull/471/head
David Cernat 6 years ago
parent 113002ca19
commit dcd4478028

@ -684,6 +684,17 @@ void WeatherManager::playerTeleported(const std::string& playerRegion, bool isEx
mCurrentRegion = playerRegion;
forceWeather(it->second.getWeather());
}
/*
Start of tes3mp addition
There's no scenario where we want our weather creation ability to be true in
an interior, so set it to false
*/
else if (!isExterior)
setWeatherCreationState(false);
/*
End of tes3mp addition
*/
}
}

Loading…
Cancel
Save