Browse Source

Merge pull request #7 from mgedmin/patch-2

Monsters can get hungry too!
Herbert "TheBracket 4 years ago
parent
commit
7a218e1ff4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      book/src/chapter_19.md

+ 2 - 2
book/src/chapter_19.md

@@ -87,7 +87,7 @@ impl<'a> System<'a> for HungerSystem {
                 }
                 RunState::MonsterTurn => {
                     if entity != *player_entity {
-                        proceed = false;
+                        proceed = true;
                     }
                 }
                 _ => proceed = false
@@ -326,4 +326,4 @@ We now have a working hunger clock system. You may want to tweak the durations t
 
 Copyright (C) 2019, Herbert Wolverson.
 
----
+---