Commit bfbe1db9 authored by nanahira's avatar nanahira

Merge branch 'mc'

parents aef6114e e5d307d9
......@@ -2618,7 +2618,7 @@ ygopro.ctos_follow 'TIME_CONFIRM', false, (buffer, info, client, server)->
return unless room
if settings.modules.reconnect.enabled
client.time_confirm_required = false
return unlesssettings.modules.heartbeat_detection.enabled
return unless settings.modules.heartbeat_detection.enabled
client.confirming_cards = false
client.heartbeat_responsed = true
CLIENT_heartbeat_unregister(client)
......
......@@ -3287,7 +3287,9 @@
if (settings.modules.reconnect.enabled) {
client.time_confirm_required = false;
}
return unlesssettings.modules.heartbeat_detection.enabled;
if (!settings.modules.heartbeat_detection.enabled) {
return;
}
client.confirming_cards = false;
client.heartbeat_responsed = true;
CLIENT_heartbeat_unregister(client);
......
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