Commit 1d260837 authored by 神楽坂玲奈's avatar 神楽坂玲奈

temp

parent e77701fc
...@@ -39,9 +39,9 @@ class Ygocore < Game ...@@ -39,9 +39,9 @@ class Ygocore < Game
if where == :close if where == :close
Game_Event.push(Game_Event::Chat.new(ChatMessage.new(User.new(:system, 'System'), '聊天服务连接中断'))) Game_Event.push(Game_Event::Chat.new(ChatMessage.new(User.new(:system, 'System'), '聊天服务连接中断')))
else else
Game_Event.push(Game_Event::Chat.new(ChatMessage.new(User.new(:system, 'System'), '聊天服务连接中断, 5秒后重新连接'))) Game_Event.push(Game_Event::Chat.new(ChatMessage.new(User.new(:system, 'System'), '聊天服务连接中断.1')))
sleep 5 #sleep 5
im_connect #im_connect
end end
end end
@@im_room.add_message_callback do |m| @@im_room.add_message_callback do |m|
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment