Ran rubocop autocorrect

This commit is contained in:
2020-12-02 17:37:48 -06:00
parent aa30ff73d0
commit 95bea199ed
116 changed files with 758 additions and 575 deletions

View File

@@ -1,4 +1,5 @@
# frozen_string_literal: true
module CyberarmEngine
module Networking
class Connection
@@ -63,9 +64,9 @@ module CyberarmEngine
@peer.total_data_received += data.length
@peer.last_read_time = Networking.milliseconds
return true
true
rescue IO::WaitReadable
return false
false
end
def write(packet:)