1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-16 00:07:39 +00:00

networking improvements

This commit is contained in:
kepler155c@gmail.com
2017-05-10 06:11:25 -04:00
parent f866d2bd58
commit 3a922ad2f4
10 changed files with 97 additions and 57 deletions

View File

@@ -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