Remove VT2 1.2 compatibility
This commit is contained in:
parent
8ae2297fbf
commit
505ed47e05
2 changed files with 0 additions and 6 deletions
|
@ -20,9 +20,6 @@ local function send_system_message(peer_id, message)
|
|||
if VT1 then
|
||||
RPC.rpc_chat_message(peer_id, CHANNEL_ID, MESSAGE_SENDER, message, LOCALIZATION_PARAM, IS_SYSTEM_MESSAGE, POP_CHAT,
|
||||
IS_DEV)
|
||||
elseif tonumber(script_data.settings.content_revision) <= 122701 then
|
||||
RPC.rpc_chat_message(peer_id, CHANNEL_ID, MESSAGE_SENDER, LOCAL_PLAYER_ID, message, LOCALIZATION_PARAM,
|
||||
IS_SYSTEM_MESSAGE, POP_CHAT, IS_DEV)
|
||||
else
|
||||
RPC.rpc_chat_message(peer_id, CHANNEL_ID, MESSAGE_SENDER, LOCAL_PLAYER_ID, message, LOCALIZATION_PARAMETERS,
|
||||
LOCALIZE, LOCALIZE_PARAMETERS, IS_SYSTEM_MESSAGE, POP_CHAT, IS_DEV)
|
||||
|
|
|
@ -136,9 +136,6 @@ local function rpc_chat_message(member, channel_id, message_sender, message, loc
|
|||
if VT1 then
|
||||
RPC.rpc_chat_message(member, channel_id, message_sender, message, localization_param,
|
||||
is_system_message, pop_chat, is_dev)
|
||||
elseif tonumber(script_data.settings.content_revision) <= 122701 then
|
||||
RPC.rpc_chat_message(member, channel_id, message_sender, 0, message, localization_param,
|
||||
is_system_message, pop_chat, is_dev)
|
||||
else
|
||||
RPC.rpc_chat_message(member, channel_id, message_sender, 0, message, {}, false, false,
|
||||
is_system_message, pop_chat, is_dev)
|
||||
|
|
Loading…
Add table
Reference in a new issue