Skip to content

Commit

Permalink
Forgot to link the lua modifiers!
Browse files Browse the repository at this point in the history
  • Loading branch information
MNoya committed Jan 28, 2016
1 parent 4505bb3 commit bdc8624
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/vscripts/libraries/buildinghelper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bdc8624

Please sign in to comment.