summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--app/tick.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/tick.rb b/app/tick.rb
index de40a9a..9cfaa30 100644
--- a/app/tick.rb
+++ b/app/tick.rb
@@ -76,10 +76,10 @@ def tick args
end
if args.inputs.keyboard.keys[:down].include?(:space)
if @pause
- FF::Stg.remove FF::Scn::BoidRules
+ FF::Stg.add FF::Scn::BoidRules
@pause = false
else
- FF::Stg.add FF::Scn::BoidRules
+ FF::Stg.remove FF::Scn::BoidRules
@pause = true
end
end