Skip to content

Commit c22e155

Browse files
Merge pull request #78 from Astralcircle/patch-2
Fix lua error
2 parents ea4feec + 3756e88 commit c22e155

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

lua/weapons/gmod_tool/stools/prop2mesh.lua

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,11 +283,9 @@ if SERVER then
283283
end
284284

285285
function TOOL:Deploy()
286-
timer.Simple(0.1, function()
287-
if IsValid(self.p2m.ent) then
288-
self:SetStage(1)
289-
end
290-
end)
286+
if IsValid(self.p2m.ent) then
287+
self:SetStage(1)
288+
end
291289
end
292290

293291
function TOOL:SetDataByIndex(add)

0 commit comments

Comments
 (0)