mirror of
https://github.com/gmod-integration/lua.git
synced 2025-04-30 05:55:26 +00:00
refact: move a hook
This commit is contained in:
parent
ac54b3db55
commit
d0880366e4
|
@ -27,3 +27,9 @@ function gmInte.openWrongBranchPopup()
|
||||||
buttonGrid:AddItem(linkButton)
|
buttonGrid:AddItem(linkButton)
|
||||||
gmInte.applyPaint(linkButton)
|
gmInte.applyPaint(linkButton)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
hook.Add("InitPostEntity", "gmInte:Ply:Ready", function()
|
||||||
|
gmInte.SendNet("ready", {
|
||||||
|
["branch"] = LocalPlayer():gmInteGetBranch()
|
||||||
|
})
|
||||||
|
end)
|
|
@ -1,5 +0,0 @@
|
||||||
hook.Add("InitPostEntity", "gmInte:Ply:Ready", function()
|
|
||||||
gmInte.SendNet("ready", {
|
|
||||||
["branch"] = LocalPlayer():gmInteGetBranch()
|
|
||||||
})
|
|
||||||
end)
|
|
Loading…
Reference in New Issue
Block a user