do not count achievements if custom_land_list is used

This commit is contained in:
Zeno Rogue 2024-05-08 21:30:09 +02:00
parent df67249ec0
commit 50881f519f
1 changed files with 2 additions and 0 deletions

View File

@ -691,6 +691,7 @@ EX void achievement_score(int cat, int number) {
return;
if(racing::on && cat != LB_RACING) return;
if(bow::weapon) return;
if(use_custom_land_list) return;
upload_score(cat, number);
#endif
}
@ -922,6 +923,7 @@ EX void achievement_victory(bool hyper) {
if(tactic::on) return;
if(!ls::nice_walls()) return;
if(ineligible_starting_land) return;
if(use_custom_land_list) return;
LATE( achievement_victory(hyper); )
DEBB(DF_STEAM, ("after checks"))