Daylight Sensor: remove redundant delay

Daylight Sensors are already always ticked.
This commit is contained in:
Tiger Wang
2020-12-26 16:58:53 +00:00
parent d9a7c51d4d
commit 14ada52f3a
@@ -41,9 +41,6 @@ namespace DaylightSensorHandler
{
// LOGD("Evaluating Darryl the daylight sensor (%d %d %d)", a_Position.x, a_Position.y, a_Position.z);
// We don't need to update the daylight sensor often:
DataForChunk(a_Chunk).m_MechanismDelays[a_Position] = std::make_pair(10, bool());
// What the sensor should output according to the time-power function.
const auto PowerLevel = GetPowerLevel(a_Chunk, a_Position);