You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
api_log("dev_mode", "Enabled! use '/' to start typing commands. Use /help for a list of known commands!")
else
api_set_devmode(false)
turned_on = false
api_log("dev_mode", "Disabled!")
end
end
function clock()
-- Keep track of time :)
seconds_passed = seconds_passed + 1
-- Makes sure that devmode is disabled after the first game second so that the button can turn it off and on correctly.
if disabled_on_load == false then
api_set_devmode(false) -- If you want devmode to be on when you load up a new world without needing to press the button, change this to true (note that the button will lie when pressed)