Ensure updating relatives calls the correct base case

* Fixed recursive base unintentionally scheduling the origin position for an update because it called the wrong function
This commit is contained in:
Tiger Wang
2020-08-02 15:52:06 +01:00
parent 46398f4671
commit 6c47f46c31
9 changed files with 15 additions and 14 deletions
@@ -129,7 +129,7 @@ public:
Data.m_MechanismDelays.erase(a_Position);
// Assume that an update (to front power) is needed:
UpdateAdjustedRelatives(a_Chunk, CurrentlyTicking, cBlockComparatorHandler::GetFrontCoordinate(a_Position, a_Meta & 0x3));
UpdateAdjustedRelative(a_Chunk, CurrentlyTicking, cBlockComparatorHandler::GetFrontCoordinate(a_Position, a_Meta & 0x3));
}
}
}