Show sessionid/profile id when profile data is saved
This commit is contained in:
parent
018b0a8f70
commit
54d47585f2
@ -155,7 +155,7 @@
|
||||
"payment-zero_price_no_payment": "Price is 0 no payment needed",
|
||||
"player-attempt_to_increment_skill_with_negative_value": "Unable to increment skill: %s with a negative amount",
|
||||
"port_already_in_use": "Port %s is already in use, check if the server is already running",
|
||||
"profile_saved": "Profile changes saved",
|
||||
"profile_saved": "%s Profile changes saved",
|
||||
"profile_save_callback_error": "Error while executing onBeforeSaveCallback: {{callback}}, {{error}}",
|
||||
"profile-unable_to_find_profile_by_id_cannot_delete": "Unable to delete profile with id: %s, no profile with id found",
|
||||
"quest-compare_operator_unhandled": "loyaltyRequirementCheck() operator %s not handled, defaulting to false",
|
||||
|
@ -208,9 +208,9 @@ export class SaveServer
|
||||
if (typeof(this.saveMd5[sessionID]) !== "string" || this.saveMd5[sessionID] !== fmd5)
|
||||
{
|
||||
this.saveMd5[sessionID] = String(fmd5);
|
||||
// save profile
|
||||
// save profile to disk
|
||||
this.vfs.writeFile(filePath, jsonProfile);
|
||||
this.logger.info(this.localisationService.getText("profile_saved"));
|
||||
this.logger.info(this.localisationService.getText("profile_saved", sessionID));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user