Update sPhone.lua
This commit is contained in:
parent
c7ce7c8acc
commit
488fa340f9
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,7 @@ local function kernel()
|
||||||
_G.sPhone = {
|
_G.sPhone = {
|
||||||
version = "Alpha 1",
|
version = "Alpha 1",
|
||||||
user = "Unknown",
|
user = "Unknown",
|
||||||
devMode = true,
|
devMode = false,
|
||||||
}
|
}
|
||||||
|
|
||||||
if fs.exists("/.sPhone/config/username") then
|
if fs.exists("/.sPhone/config/username") then
|
||||||
|
@ -556,6 +556,8 @@ if sPhone then
|
||||||
printError("sPhone already started")
|
printError("sPhone already started")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
os.oldPullEvent = os.pullEvent
|
||||||
|
os.pullEvent = os.pullEventRaw
|
||||||
|
|
||||||
local ok, error = pcall(kernel)
|
local ok, error = pcall(kernel)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue