1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00

Merge pull request #509 from metrostroi-repo/Fix-498

Fix #498
This commit is contained in:
CrIcKeT98
2022-07-12 02:26:14 +03:00
committed by GitHub

View File

@@ -442,7 +442,7 @@ end)
net.Receive("metrostroi_bogey_contact",function() net.Receive("metrostroi_bogey_contact",function()
local ent = net.ReadEntity() local ent = net.ReadEntity()
if not IsValid(ent) then return end if not IsValid(ent) or not ent.PlayTime then return end
local PantNum = net.ReadUInt(1)+1 local PantNum = net.ReadUInt(1)+1
local PantPos = net.ReadVector() local PantPos = net.ReadVector()
local Spark = net.ReadUInt(1) > 0 local Spark = net.ReadUInt(1) > 0