diff options
| author | arngo <[email protected]> | 2021-12-26 22:33:19 -0500 |
|---|---|---|
| committer | arngo <[email protected]> | 2021-12-26 22:33:19 -0500 |
| commit | 73d33929c11307f2589413a3901b574ccdc2a449 (patch) | |
| tree | 6799567bd7281abf0b87799bdd1bda2080908c17 /app/systems/death.rb | |
| parent | 09fe8467d670a9eace7c0c60e21e5aa81fc0b8e9 (diff) | |
| parent | 930802e49e33c87ef0fd2f102b9205a4098878d3 (diff) | |
| download | SteelWings-73d33929c11307f2589413a3901b574ccdc2a449.tar.gz SteelWings-73d33929c11307f2589413a3901b574ccdc2a449.zip | |
Merge branch 'score-dev' into development
Diffstat (limited to 'app/systems/death.rb')
| -rw-r--r-- | app/systems/death.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/systems/death.rb b/app/systems/death.rb index edeb493..ae02dec 100644 --- a/app/systems/death.rb +++ b/app/systems/death.rb @@ -5,6 +5,8 @@ FF::Scn::BoidRules.add( hp.entities[0].components.each do |manager, manager_array| if manager.equal?(FF::Cmp::SingletonPlayer) FF::Sys::EndGame.call + elsif manager.equal?(FF::Cmp::SingletonEnemyTeam) + FF::Sys::Score.call end next if manager.equal?(FF::Cmp::Hp) manager_array.reverse_each do |component| |
