Retry a failed portrait from the notice with the same scene builder.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-21 01:48:30 +03:00
co-authored by Cursor
parent 3c70227229
commit 3061e09d3e
32 changed files with 712 additions and 105 deletions
+3 -2
View File
@@ -60,7 +60,8 @@ internal static class DevEndpoints
var command = new GameCommand.PostSchoolNotice(
id,
defName,
request?.PersonId ?? 0,
request?.Person?.Trim() ?? "",
request?.Kind?.Trim() ?? "",
NewCompletion<PostedNotice?>());
commands.Enqueue(command);
var posted = await command.Result.Task.WaitAsync(CommandTimeout, cancellationToken);
@@ -153,4 +154,4 @@ internal sealed record SchoolDumpLessonResponse(
int Day,
int Period);
internal sealed record PostDevNoticeRequest(string? DefName, uint PersonId);
internal sealed record PostDevNoticeRequest(string? DefName, uint PersonId = 0, string? Person = null, string? Kind = null);