From 20e5f9a8b302cb56a1b4cafc4f2072918223e3c5 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sat, 5 Jan 2019 20:29:38 +0100 Subject: ... --- src/bounty/bnt_join_battle.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bounty') diff --git a/src/bounty/bnt_join_battle.erl b/src/bounty/bnt_join_battle.erl index a3e9ea2..104fefe 100644 --- a/src/bounty/bnt_join_battle.erl +++ b/src/bounty/bnt_join_battle.erl @@ -15,7 +15,7 @@ ). -type bounty_data() :: #bounty_data{}. --type stage() :: integer(). +-type stage() :: -1..0. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% EXPORTS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -630,7 +630,7 @@ attempt ( pending_battle_db, PlayerUser, - AtaxicUpdate, + ataxic:update_value(AtaxicUpdate), PendingBattleID ), -- cgit v1.2.3-70-g09d2