From 8c1515e0f4e97b8ec5026785d9679c628c68dc8b Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 1 Mar 2018 21:35:43 +0300 Subject: [PATCH] Changed rpc_send arguments order --- vmf_source/scripts/mods/vmf/modules/core/network.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmf_source/scripts/mods/vmf/modules/core/network.lua b/vmf_source/scripts/mods/vmf/modules/core/network.lua index aa83318..a57e81b 100644 --- a/vmf_source/scripts/mods/vmf/modules/core/network.lua +++ b/vmf_source/scripts/mods/vmf/modules/core/network.lua @@ -138,7 +138,7 @@ VMFMod.rpc_register = function (self, rpc_name, rpc_function) end -- 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