mirror of
https://github.com/CFC-Servers/cfc_ulx_commands.git
synced 2025-03-04 03:13:28 -05:00
Replace UInt32 with Double in net message (#123)
This commit is contained in:
parent
4457791a20
commit
9363e67738
@ -33,7 +33,7 @@ net.Receive( "CFC_TimedPunishments_Punishments", function()
|
||||
|
||||
for _ = 1, count do
|
||||
local name = net.ReadString()
|
||||
local expiration = net.ReadUInt( 32 )
|
||||
local expiration = net.ReadDouble()
|
||||
punishments[name] = expiration
|
||||
end
|
||||
|
||||
|
@ -70,7 +70,7 @@ function TP.SendPunishments( ply )
|
||||
|
||||
for name, expiration in pairs( punishments ) do
|
||||
net.WriteString( name )
|
||||
net.WriteUInt( expiration, 32 )
|
||||
net.WriteDouble( expiration )
|
||||
end
|
||||
|
||||
net.Send( ply )
|
||||
|
Loading…
Reference in New Issue
Block a user