answer command stream only once
This commit is contained in:
parent
12ca9aca54
commit
d0e3698ee4
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user