Skip to content
Snippets Groups Projects
Commit 762b43da authored by Jon's avatar Jon
Browse files

Make the time to return the dirty plates longer

parent cbc52574
Branches master
No related tags found
No related merge requests found
......@@ -83,7 +83,8 @@ class Kitchen{
}
async _returnDirtyPlates(msg){
let rndTime = 8000 + Math.floor(Math.random() * 7000);
let rndTime = 70000 + Math.floor(Math.random() * 30000);
log('The customers are eating the prepared food. The plates will be brought back soon...')
await this.tick(rndTime);
while(this._returningPlates){
await this.tick(100);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment