diff --git a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_woodensplint.hpp b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_woodensplint.hpp index ee0db92bf..63bcc3115 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_woodensplint.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Crafting/equip_woodensplint.hpp @@ -5,7 +5,7 @@ class equip_woodensplint : CA_Magazine { descriptionShort = $STR_ITEM_DESC_WOODENSPLINT; model = "\z\addons\dayz_communityassets\models\woodensplint.p3d"; picture = "\z\addons\dayz_communityassets\pictures\equip_woodensplint_ca.paa"; - type = 256; + type = 256; //WeaponSlotItem * 2 in vanilla class ItemActions { class Use { text = $STR_ACTIONS_BRACE_LEG; diff --git a/SQF/dayz_code/actions/player_buildVanilla.sqf b/SQF/dayz_code/actions/player_buildVanilla.sqf index 5cdf8d579..ff665edcb 100644 --- a/SQF/dayz_code/actions/player_buildVanilla.sqf +++ b/SQF/dayz_code/actions/player_buildVanilla.sqf @@ -307,13 +307,11 @@ while {r_action_count != 0 and Dayz_constructionContext select 4} do { _object setVectorUp [0,0,1]; }; _position = +(_tmp); - _object setPosATL _position; - - // check now that ghost is not colliding - call _checkBuildingCollision; - - diag_log format ["_objColliding: %1", _objColliding]; + _object setPosATL _position; }; + + // check now that ghost is not colliding + call _checkBuildingCollision; // try to dock a beam from current ghost to another beams nearby call _checkBeam2Magnet; @@ -373,7 +371,7 @@ while {r_action_count != 0 and Dayz_constructionContext select 4} do { }; }; }; - uiSleep 0.01; + uiSleep 0.03; }; if (!_actionBuildHidden) then { // player can't build until all is fine