From 6ca8f6fbb8083db156c906e848173e827de838ef Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Wed, 27 Mar 2019 18:24:38 +0100 Subject: It compiles again! --- src/shared/battle-characters/BattleCharacters/Struct/Character.elm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/shared/battle-characters/BattleCharacters/Struct/Character.elm') diff --git a/src/shared/battle-characters/BattleCharacters/Struct/Character.elm b/src/shared/battle-characters/BattleCharacters/Struct/Character.elm index e3ba148..39c7d26 100644 --- a/src/shared/battle-characters/BattleCharacters/Struct/Character.elm +++ b/src/shared/battle-characters/BattleCharacters/Struct/Character.elm @@ -14,6 +14,7 @@ module BattleCharacters.Struct.Character exposing get_statistics, get_active_weapon, get_inactive_weapon, + is_using_secondary, switch_weapons, dirty_switch_weapons, decoder, @@ -148,6 +149,9 @@ get_attributes char = char.attributes get_statistics : Type -> Battle.Struct.Statistics.Type get_statistics char = char.statistics +is_using_secondary : Type -> Bool +is_using_secondary char = char.is_using_secondary + switch_weapons : Type -> Type switch_weapons char = (refresh_omnimods -- cgit v1.2.3-70-g09d2