Opened 3 years ago

Last modified 2 years ago

#6240 new defect

Invalid campaign run references should not make the button clickable

Reported by: Stan Owned by:
Priority: Should Have Milestone: Backlog
Component: UI – Miscellaneous Keywords:
Cc: Patch:

Description

Currently the last campaign run is saved in the user.cfg. This means that if you have a mod with another campaign, and unload it, you will get an error when clicking on continue campaign.

One solution would be to store campaign runs per mod, or to check the existence of the run before ungraying out the continue campaign button;

Change History (5)

comment:1 by Stan, 3 years ago

Component: Core engineUI – Miscellaneous
Milestone: BacklogAlpha 25

comment:2 by wraitii, 3 years ago

I think I didn't do the latter because it potentially required loading a lot of stuff on the main menu, which I'd rather avoid doing.

comment:3 by Stan, 3 years ago

Maybe we could have currentmod.currentcampaign in the config e.g. public.currentcampaign .

comment:4 by Stan, 3 years ago

Milestone: Alpha 25Alpha 26

comment:5 by Freagarach, 2 years ago

Milestone: Alpha 26Backlog
Note: See TracTickets for help on using tickets.