summaryrefslogtreecommitdiffhomepage
path: root/app/systems/start_game.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/systems/start_game.rb')
-rw-r--r--app/systems/start_game.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/systems/start_game.rb b/app/systems/start_game.rb
index 96332a2..fd45a14 100644
--- a/app/systems/start_game.rb
+++ b/app/systems/start_game.rb
@@ -1,5 +1,5 @@
FF::Sys.new('StartGame', priority: 50 ) do
- thing = FF::Cmp::Title[0].entities.clone
+ thing = FF::Cmp::SingletonTitle[0].entities.clone
thing.each do |entity|
entity.components[FF::Cmp::Sprite][0].delete
if (!entity.components[FF::Cmp::Button].nil? && !entity.components[FF::Cmp::Hitbox].nil?)
@@ -9,7 +9,7 @@ FF::Sys.new('StartGame', priority: 50 ) do
entity.delete
end
- FF::Cmp::Title[0].delete
+ FF::Cmp::SingletonTitle[0].delete
FF::Stg.remove FF::Scn::TitleScreen
debug_arrow = FF::Cmp::SingletonDebugVectorArrow.new(length: 5)