mirror of
https://github.com/kepler155c/opus
synced 2025-10-16 00:07:39 +00:00
networking improvements
This commit is contained in:
@@ -110,9 +110,9 @@ function os.getVersion()
|
||||
local version
|
||||
|
||||
if _CC_VERSION then
|
||||
version = tonumber(_CC_VERSION)
|
||||
version = tonumber(_CC_VERSION:gmatch('[%d]+%.?[%d][%d]', '%1')())
|
||||
end
|
||||
if _HOST then
|
||||
if not version and _HOST then
|
||||
version = tonumber(_HOST:gmatch('[%d]+%.?[%d][%d]', '%1')())
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user