mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
fixed crash with crafting load since 1.66
This commit is contained in:
parent
a4f0ab80ec
commit
84eb6fc8a8
@ -13,11 +13,16 @@
|
||||
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_load.sqf
|
||||
*/
|
||||
if (rmx_var_craftingENABLED) exitWith {false};
|
||||
disableSerialization;
|
||||
private ["_in","_cfg","_3DCTRL","_recipeCTRL","_recipeConfigs"];
|
||||
_in = param [0,""];
|
||||
|
||||
createDialog "rmx_craftingUI";
|
||||
_this spawn {
|
||||
private ["_in","_cfg","_3DCTRL","_recipeCTRL","_recipeConfigs"];
|
||||
|
||||
disableSerialization;
|
||||
|
||||
_in = param [0,""];
|
||||
|
||||
waitUntil {!isNull findDisplay 77700};
|
||||
call EPOCH_crafting_ctrl_collector;
|
||||
|
||||
//Var defs
|
||||
@ -146,4 +151,5 @@ rmx_var_crafting_PP_DB = ["dynamicBlur",11] call epoch_postProcessCreate;
|
||||
if ((_pos distance (position player)) > 1) exitWith {closeDialog 0;};
|
||||
};
|
||||
};
|
||||
};
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user