mirror of
https://github.com/gmod-integration/lua.git
synced 2025-04-29 22:05:24 +00:00
refact: move a hook
This commit is contained in:
parent
ac54b3db55
commit
d0880366e4
|
@ -26,4 +26,10 @@ function gmInte.openWrongBranchPopup()
|
|||
linkButton:SetSize(buttonGrid:GetColWide() - 10, buttonGrid:GetRowHeight())
|
||||
buttonGrid:AddItem(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