diff options
Diffstat (limited to 'src/sim/drain.cc')
-rw-r--r-- | src/sim/drain.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/drain.cc b/src/sim/drain.cc index 8549da261..c60734876 100644 --- a/src/sim/drain.cc +++ b/src/sim/drain.cc @@ -150,7 +150,7 @@ DrainManager::drainableCount() const Drainable::Drainable() : _drainManager(DrainManager::instance()), - _drainState(DrainState::Running) + _drainState(_drainManager.state()) { _drainManager.registerDrainable(this); } |