Changed rpc_send arguments order

This commit is contained in:
Unknown 2018-03-01 21:35:43 +03:00
parent 222561152d
commit 8c1515e0f4

View file

@ -138,7 +138,7 @@ VMFMod.rpc_register = function (self, rpc_name, rpc_function)
end end
-- recipient = "all", "local", "others", peer_id -- recipient = "all", "local", "others", peer_id
VMFMod.rpc_send = function (self, recipient, rpc_name, ...) VMFMod.rpc_send = function (self, rpc_name, recipient, ...)
if not is_rpc_registered(self:get_name(), rpc_name) then if not is_rpc_registered(self:get_name(), rpc_name) then