summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator
diff options
context:
space:
mode:
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/DaylightSensorHandler.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/DaylightSensorHandler.h b/src/Simulator/IncrementalRedstoneSimulator/DaylightSensorHandler.h
index 160486d29..53ad4c4fb 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/DaylightSensorHandler.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/DaylightSensorHandler.h
@@ -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);