- new option enables "auto select system", closed #569
- improved `console` logging format
This commit is contained in:
@@ -183,6 +183,11 @@ class Map extends Controller\AccessController {
|
||||
'zKillboard' => Config::getPathfinderData('api.z_killboard')
|
||||
];
|
||||
|
||||
// Character default config -------------------------------------------------------------------------------
|
||||
$return->character = [
|
||||
'autoLocationSelect' => (bool)Config::getPathfinderData('character.auto_location_select')
|
||||
];
|
||||
|
||||
// Slack integration status -------------------------------------------------------------------------------
|
||||
$return->slack = [
|
||||
'status' => (bool)Config::getPathfinderData('slack.status')
|
||||
|
||||
@@ -329,7 +329,7 @@ class User extends Controller\Controller{
|
||||
|
||||
// character config -----------------------------------------------------------
|
||||
if(isset($formData['character'])){
|
||||
$activeCharacter->logLocation = (int)$formData['logLocation'];
|
||||
$activeCharacter->copyfrom($formData, ['logLocation', 'selectLocation']);
|
||||
|
||||
$activeCharacter->save();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user