Capitalised "incremental"
This commit is contained in:
parent
f47765dcbd
commit
cfaef0de38
@ -3176,17 +3176,17 @@ void cWorld::SetChunkAlwaysTicked(int a_ChunkX, int a_ChunkZ, bool a_AlwaysTicke
|
||||
|
||||
cRedstoneSimulator * cWorld::InitializeRedstoneSimulator(cIniFile & a_IniFile)
|
||||
{
|
||||
AString SimulatorName = a_IniFile.GetValueSet("Physics", "RedstoneSimulator", "incremental");
|
||||
AString SimulatorName = a_IniFile.GetValueSet("Physics", "RedstoneSimulator", "Incremental");
|
||||
|
||||
if (SimulatorName.empty())
|
||||
{
|
||||
LOGWARNING("[Physics] RedstoneSimulator not present or empty in %s, using the default of \"incremental\".", GetIniFileName().c_str());
|
||||
SimulatorName = "incremental";
|
||||
LOGWARNING("[Physics] RedstoneSimulator not present or empty in %s, using the default of \"Incremental\".", GetIniFileName().c_str());
|
||||
SimulatorName = "Incremental";
|
||||
}
|
||||
|
||||
cRedstoneSimulator * res = NULL;
|
||||
|
||||
if (NoCaseCompare(SimulatorName, "incremental") == 0)
|
||||
if (NoCaseCompare(SimulatorName, "Incremental") == 0)
|
||||
{
|
||||
res = new cIncrementalRedstoneSimulator(*this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user