fix state update, save/load
This commit is contained in:
@@ -19,6 +19,9 @@ type options struct {
|
||||
randomIdentity bool
|
||||
userActions Actions
|
||||
enableHUD, standaloneJob bool
|
||||
debugMode bool
|
||||
characterfile string
|
||||
statefile string
|
||||
context context.Context
|
||||
permanentGoal string
|
||||
}
|
||||
@@ -54,6 +57,11 @@ var EnableHUD = func(o *options) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
var DebugMode = func(o *options) error {
|
||||
o.debugMode = true
|
||||
return nil
|
||||
}
|
||||
|
||||
// EnableStandaloneJob is an option to enable the agent
|
||||
// to run jobs in the background automatically
|
||||
var EnableStandaloneJob = func(o *options) error {
|
||||
|
||||
Reference in New Issue
Block a user