Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
Fixed a nasty bug where Monika just wouldn't shut up
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Reiter committed Apr 2, 2018
1 parent 0cddc1c commit cfcb73e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MonikAI/Behaviours/IdleBehaviour.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public void Update(MainWindow window)

private void SetTimeOut()
{
var speed = this.timeoutSpeeds.FirstOrDefault(x => x.Key == MonikaiSettings.Default.IdleWait.ToLower());
var speed = this.timeoutSpeeds.FirstOrDefault(x => x.Key.Contains(MonikaiSettings.Default.IdleWait.ToLower()));
this.idleTimeout = TimeSpan.FromSeconds(this.random.Next(speed.Value.Item1, speed.Value.Item2 + 1));
}

Expand Down
Binary file modified docs/MonikAI.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/update.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"ProgramVersion": 16,
"ProgramVersion": 17,
"ResponsesVersion": 7,
"ProgramURL": "https://github.com/PiMaker/MonikAI/raw/master/docs/MonikAI.exe",
"ResponseURLs": [
Expand Down

0 comments on commit cfcb73e

Please sign in to comment.