mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
[Client] Always stop sending weather updates when moving to an interior
This commit is contained in:
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…
x
Reference in New Issue
Block a user