Skip to content

Commit 59825a5

Browse files
remove waits
1 parent a218355 commit 59825a5

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

modules/EntityHandler.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ local function PlayerAdded(plr)
1818
end
1919
local function PlayerRemoving(plr)
2020
entityHandler.PlayerRemoving:Fire(playerList[plr])
21-
task.wait()
2221
playerList[plr] = nil
2322
end
2423
local function EntityAdded(ent)
@@ -27,7 +26,6 @@ local function EntityAdded(ent)
2726
end
2827
local function EntityRemoving(ent)
2928
entityHandler.EntityRemoving:Fire(entityList[ent])
30-
task.wait()
3129
entityList[ent] = nil
3230
end
3331

0 commit comments

Comments
 (0)