diff --git a/Characters/Meldewesen/Meldewesen.gd b/Characters/Meldewesen/Meldewesen.gd index acbc5b1..ad14215 100644 --- a/Characters/Meldewesen/Meldewesen.gd +++ b/Characters/Meldewesen/Meldewesen.gd @@ -187,6 +187,9 @@ func _set_behavior (): # take your pills elif Pills.get_level() < _player_follow_pill_level: mood = BEHAVIOR.TAKE_PILLS + # go home + elif daytime > Daytime.SLEEP_TIME: + mood = BEHAVIOR.GO_HOME # do your job elif _playerRef.is_in_workzone(): _countCmds = 0 # hard block -> work is always good :D @@ -194,9 +197,6 @@ func _set_behavior (): # go to work elif daytime < Daytime.WORK_TIME: mood = BEHAVIOR.GO_WORK - # go home - elif daytime > Daytime.SLEEP_TIME: - mood = BEHAVIOR.GO_HOME if mood != _curMood: Logger.info("new mood: " + BEHAVIOR.keys()[mood] + " with cntcmd: " + String(_countCmds))