From 564144ee4105c8a881b6954d619517fa72f8cc27 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Sat, 5 Nov 2016 16:34:00 -0400 Subject: [PATCH] Revert vanilla work bench to player_buildVanilla Partial revert of: https://github.com/EpochModTeam/DayZ-Epoch/commit/2d9097a6af14ff21d0cd362eccaf62678c86060e This workbench is currently not obtainable either by crafting or the loot tables, so it is not used anyway. But with Epoch player_build attempting to build it sends the player flying / sliding backwards at high speed. Using the vanilla player_build that does not happen. I tested building all the other items changed in the above commit and none of them have this problem. --- SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp index d16aceb2f..1e7cb4b67 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp @@ -12,7 +12,7 @@ class ItemWorkBench : CA_Magazine class ItemActions { class Build { text = $STR_BLD_build_ItemWorkBench;//"place WorkBench" - script = "spawn player_build;"; + script = "; ['ItemWorkBench','Build'] spawn player_build;"; require[] = {}; consume[] = {"ItemWorkBench"}; create = "WorkBench";