forked from teamnwah/openmw-tes3coop
[Client] Always stop sending weather updates when moving to an interior
This commit is contained in:
parent
113002ca19
commit
dcd4478028
1 changed files with 11 additions and 0 deletions
|
@ -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…
Reference in a new issue