Removed gosu dependency from Server by adding TACNET.milliseconds method, made tacnet hostname/port editable

This commit is contained in:
2020-06-09 21:19:31 -05:00
parent ca193ea24a
commit 270f3b381f
9 changed files with 41 additions and 24 deletions

View File

@@ -70,5 +70,9 @@ module TAC
def gets
@connection.gets if connected?
end
def self.milliseconds
Process.clock_gettime(Process::CLOCK_MONOTONIC, :millisecond)
end
end
end