mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Always open Advanced Trading in buy mode
Fixes the unintended behavior of swapping between buy and sell each time the menu is opened.
This commit is contained in:
@@ -100,6 +100,7 @@ if(isNil "Z_AdvancedTradingInit")then{
|
|||||||
Z_AdvancedTradingInit = true;
|
Z_AdvancedTradingInit = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Z_Selling = true; // Always start menu in buy mode (flipped in z_at_changeBuySell.sqf on startup)
|
||||||
createDialog "AdvancedTrading";
|
createDialog "AdvancedTrading";
|
||||||
|
|
||||||
(findDisplay Z_AT_DIALOGWINDOW displayCtrl Z_AT_REMOVESELLITEMBUTTON) ctrlSetText " < ";
|
(findDisplay Z_AT_DIALOGWINDOW displayCtrl Z_AT_REMOVESELLITEMBUTTON) ctrlSetText " < ";
|
||||||
|
|||||||
Reference in New Issue
Block a user