Exit vanilla craft item when action is in progress

Fixes #1826
This commit is contained in:
ebaydayz
2016-12-25 20:01:55 -05:00
parent b962bd50b9
commit 64f6a9daa3
2 changed files with 3 additions and 1 deletions

View File

@@ -26,6 +26,7 @@
[FIXED] Wrong bleeding icon on vanilla status UI. @jOoPs @ebayShopper
[FIXED] It is no longer possible to autoRun under ponds on Chernarus. #1827 @schwanzkopfhegel
[FIXED] Hive connection error after the first and only online player disconnects during the object stream at server start up. #1822 @AirwavesMan @ebayShopper
[FIXED] Vanilla player_craftItem not exiting when action is already in progress. #1826 @schwanzkopfhegel
[NOTE] Updated server files were released with the four hotfixes below on December 11th, 2016 (http://dayzepoch.com/a2dayzepoch.php)
[FIXED] Hive child 309 errors that resulted in broken saving of newly built storage object inventory. @icomrade

View File

@@ -10,9 +10,10 @@
failChance = 1;
*/
//diag_log("crafting system");
dayz_actionInProgress = true;
private ["_config","_input","_output","_required","_failChance","_hasInput","_availabeSpace","_classname","_isClass","_onLadder","_hasTools","_avail","_selection","_item","_amount","_itemName","_freeSlots","_slotType","_i","_j","_dis","_sfx"];
if (dayz_actionInProgress) exitWith {localize "str_epoch_player_63" call dayz_rollingMessages;};
dayz_actionInProgress = true;
//diag_log(str(isnil "r_player_crafting"));
//Process has started