summary refs log tree commit diff stats
path: root/src/character_system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/character_system.cpp')
-rw-r--r--src/character_system.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/character_system.cpp b/src/character_system.cpp index 7b628b0..6e15eac 100644 --- a/src/character_system.cpp +++ b/src/character_system.cpp
@@ -91,6 +91,8 @@ void CharacterSystem::stopDirecting(int spriteId) {
91} 91}
92 92
93void CharacterSystem::tick(double dt) { 93void CharacterSystem::tick(double dt) {
94 if (game_.isGameplayPaused()) return;
95
94 inputTimer_.accumulate(dt); 96 inputTimer_.accumulate(dt);
95 while (inputTimer_.step()) { 97 while (inputTimer_.step()) {
96 for (int spriteId : game_.getSprites()) { 98 for (int spriteId : game_.getSprites()) {