summaryrefslogtreecommitdiffstats
path: root/source/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/World.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/World.cpp b/source/World.cpp
index c8a7b9ded..39dd17c17 100644
--- a/source/World.cpp
+++ b/source/World.cpp
@@ -544,6 +544,12 @@ void cWorld::Tick(float a_Dt)
void cWorld::TickWeather(float a_Dt)
{
+ // There are no weather changes anywhere but in the Overworld:
+ if (GetDimension() != dimOverworld)
+ {
+ return;
+ }
+
if (m_WeatherInterval > 0)
{
// Not yet, wait for the weather period to end