Skip to content

Commit

Permalink
add. 0af72a4
Browse files Browse the repository at this point in the history
  • Loading branch information
rt committed Apr 11, 2019
1 parent 37f1d10 commit 027cf37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions cont/base/springcontent/LuaGadgets/callins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ CALLIN_LIST = {
"DrawWorldReflection",
"DrawWorldRefraction",
"DrawGroundPreForward",
"DrawGroundPostForward",
"DrawGroundPreDeferred",
"DrawGroundPostDeferred",
"DrawUnitsPostDeferred",
Expand Down
6 changes: 6 additions & 0 deletions cont/base/springcontent/LuaGadgets/gadgets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1880,6 +1880,12 @@ function gadgetHandler:DrawGroundPreForward()
end
end

function gadgetHandler:DrawGroundPostForward()
for _,g in r_ipairs(self.DrawGroundPostForwardList) do
g:DrawGroundPostForward()
end
end

function gadgetHandler:DrawGroundPreDeferred()
for _,g in r_ipairs(self.DrawGroundPreDeferredList) do
g:DrawGroundPreDeferred()
Expand Down

0 comments on commit 027cf37

Please sign in to comment.