forked from Not/srb2k-leaderboard
answer command stream only once
This commit is contained in:
@ -406,6 +406,10 @@ Server = {
|
|||||||
|
|
||||||
transmitters = {},
|
transmitters = {},
|
||||||
callback = function(cmd, handle)
|
callback = function(cmd, handle)
|
||||||
|
if handle.transmitters[cmd] then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
local mapindex = Index:getMap(gamemap, mapChecksum(gamemap))
|
local mapindex = Index:getMap(gamemap, mapChecksum(gamemap))
|
||||||
local header = assert(mapindex[tonumber(cmd)])
|
local header = assert(mapindex[tonumber(cmd)])
|
||||||
local data = Ghost.read(header, Ghost.stringReader)
|
local data = Ghost.read(header, Ghost.stringReader)
|
||||||
|
Reference in New Issue
Block a user