From bdc86240cbc9c41e5fa9cd28dc7e29737ccc2eb1 Mon Sep 17 00:00:00 2001 From: MNoya Date: Wed, 27 Jan 2016 21:01:52 -0300 Subject: [PATCH] Forgot to link the lua modifiers! --- scripts/vscripts/libraries/buildinghelper.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/vscripts/libraries/buildinghelper.lua b/scripts/vscripts/libraries/buildinghelper.lua index e3285cb..70578cf 100644 --- a/scripts/vscripts/libraries/buildinghelper.lua +++ b/scripts/vscripts/libraries/buildinghelper.lua @@ -44,6 +44,11 @@ function BuildingHelper:Init() if BuildingHelper.Settings["UPDATE_TREES"] then ListenToGameEvent('tree_cut', Dynamic_Wrap(BuildingHelper, 'OnTreeCut'), self) end + + -- Lua Modifiers + LinkLuaModifier("modifier_out_of_world", "libraries/modifiers/modifier_out_of_world", LUA_MODIFIER_MOTION_NONE) + LinkLuaModifier("modifier_builder_hidden", "libraries/modifiers/modifier_builder_hidden", LUA_MODIFIER_MOTION_NONE) + LinkLuaModifier("modifier_disable_turning", "libraries/modifiers/modifier_disable_turning", LUA_MODIFIER_MOTION_NONE) BuildingHelper.KV = {} -- Merge KVs into a single table BuildingHelper:ParseKV(BuildingHelper.AbilityKV, BuildingHelper.KV)