summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-01-05 20:29:38 +0100 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-01-05 20:29:38 +0100 |
commit | 20e5f9a8b302cb56a1b4cafc4f2072918223e3c5 (patch) | |
tree | e7104b9ddc58438c640f1defbe5c556c11006f5e | |
parent | 4b7351e6df122418a3e58e5e3b7b55e46b4a6c89 (diff) |
...
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | src/bounty/bnt_join_battle.erl | 4 |
2 files changed, 3 insertions, 7 deletions
@@ -134,18 +134,14 @@ debug_rebuild: $(DIALYZER_BASE_PLT_FILE): $(DIALYZER_EXEC) --build_plt --apps erts kernel stdlib crypto jiffy mnesia \ --output_plt $@ -ifeq ($(wildcard $(DIALYZER_PLT_FILE)),) + debug_run: $(DIALYZER_BASE_PLT_FILE) $(MAKE) debug_rebuild cp $< $(DIALYZER_PLT_FILE) $(DIALYZER_EXEC) --add_to_plt --plt $(DIALYZER_PLT_FILE) -r $(BIN_DIR) -else -debug_run: - $(MAKE) debug_rebuild $(DIALYZER_EXEC) --check_plt --plt $(DIALYZER_PLT_FILE) $(DIALYZER_EXEC) --get_warnings $(ERL_SRC_FILES) $(PREPROCESSED_ERL_SRC_FILES)\ --src --plt $(DIALYZER_PLT_FILE) -endif $(PREPROCESSED_FILES): %: %.m4 .PHONY $(M4_EXEC) -P $(MAKEFILE_TO_M4) $(PREPROCESSOR_CONFIG_FILES) $< > $@ 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 ), |