Changed rpc_send arguments order
This commit is contained in:
parent
222561152d
commit
8c1515e0f4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue