* canvas overhaul * editor 2.0 * more tweaks * more editor work * completions + refactor * cleanup + editor additions * cleanup + undo overhaul * editor recent/peripherals/redo + cleanup * editor path issues * cleanup * changes for deprecated ui methods - recolor milo - make turtle scripts run again - mob rancher improvements * can now use named colors
9 lines
199 B
Plaintext
9 lines
199 B
Plaintext
_G.requireInjector(_ENV)
|
|
local Config = require('opus.config')
|
|
local pt = turtle.enableGPS()
|
|
if pt then
|
|
local config = Config.load('gps', { })
|
|
config.home = pt
|
|
Config.update('gps', config)
|
|
end
|