Posted 05 March 2015 - 10:01 PM
I was messing around with CC a while ago, and I noticed that the following code
Yet the actual version number is CraftOS 1.7, even with the Lua console..
Can someone explain why this is? I'm not sure if it's a glitch in 1.73 or something, but I find it strange.
EDIT: Turns out it was just because I returned the first and second output instead of just the first. Oops ._.
local version = os.version()
print(version:gsub("Craft", "Cyan"))
Actually prints out "CyanOS 1.71" instead of the proper result, "CyanOS 1.7" in CC 1.73.Yet the actual version number is CraftOS 1.7, even with the Lua console..
Can someone explain why this is? I'm not sure if it's a glitch in 1.73 or something, but I find it strange.
EDIT: Turns out it was just because I returned the first and second output instead of just the first. Oops ._.
Edited on 05 March 2015 - 09:11 PM