Ver código fonte

Merge branch 'master' of https://github.com/thebracket/rustrogueliketutorial

Herbert Wolverson 5 anos atrás
pai
commit
a507067b8b
1 arquivos alterados com 2 adições e 2 exclusões
  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.
 
----
+---