summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/World.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp
index e66b52281..a9f9bfbed 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -3862,6 +3862,11 @@ cRedstoneSimulator * cWorld::InitializeRedstoneSimulator(cIniFile & a_IniFile)
{
res = new cRedstoneNoopSimulator(*this);
}
+ else
+ {
+ LOGWARNING("[Physics] Unknown RedstoneSimulator \"%s\" in %s, using the default of \"Incremental\".", SimulatorName.c_str(), GetIniFileName().c_str());
+ res = new cIncrementalRedstoneSimulator(*this);
+ }
m_SimulatorManager->RegisterSimulator(res, 2 /* Two game ticks is a redstone tick */);