Remember store buy/sell state.
This commit is contained in:
parent
e88e918c02
commit
6252bf2dba
3 changed files with 6 additions and 3 deletions
|
|
@ -82,10 +82,12 @@ Class DemolitionistStoreTab : DemolitionistMenuTab
|
|||
|
||||
override void OnSelect()
|
||||
{
|
||||
bSell = master.shnd.menustate.At("WasSelling").ToInt();
|
||||
smofs = ofs;
|
||||
}
|
||||
override void OnDeselect()
|
||||
{
|
||||
master.shnd.menustate.Insert("WasSelling",String.Format("%d",bSell));
|
||||
smofs = ofs;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue