summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2019-01-18 17:55:59 +0100
committernsensfel <SpamShield0@noot-noot.org>2019-01-18 17:55:59 +0100
commit4d420088752a9d2212129ac10b8772f10d4c02ef (patch)
tree818c6653bd65917d2c9653de28c72c89882c9bd6 /src/battle/game-logic
parenta38766a1b008347df932d7578aa99ae1ef30b4fd (diff)
The two aforementioned issues are fixed.
Diffstat (limited to 'src/battle/game-logic')
-rw-r--r--src/battle/game-logic/btl_next_turn.erl2
-rw-r--r--src/battle/game-logic/btl_turn_actions_switch_weapon.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/battle/game-logic/btl_next_turn.erl b/src/battle/game-logic/btl_next_turn.erl
index ed6eadd..886916d 100644
--- a/src/battle/game-logic/btl_next_turn.erl
+++ b/src/battle/game-logic/btl_next_turn.erl
@@ -92,7 +92,7 @@ activate_next_players_characters (Battle, NextPlayer) ->
btl_character:get_is_active_field(),
ataxic:constant(true)
)
- )
+ )|Updates
]
};
diff --git a/src/battle/game-logic/btl_turn_actions_switch_weapon.erl b/src/battle/game-logic/btl_turn_actions_switch_weapon.erl
index e32a283..990f91f 100644
--- a/src/battle/game-logic/btl_turn_actions_switch_weapon.erl
+++ b/src/battle/game-logic/btl_turn_actions_switch_weapon.erl
@@ -60,7 +60,7 @@ handle (Update) ->
ataxic:update_field
(
btl_character:get_weapons_field(),
- UpdatedWeaponIDs
+ ataxic:constant(UpdatedWeaponIDs)
)
)
),