You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's 2 synced calls to Precept_Ritual.ShowRitualBeginWindow. After some digging I've learned that what happens is that inside of GizmoGridDrawer.DrawGizmoGrid, when a gizmo is clicked then all the other gizmos in the same group (GizmoGridDrawer.gizmoGroups) will have their ProcessInput method called as well (as long as they aren't disabled and Gizmo.InheritInteractionsFrom returns true).
In SP, it looks like it'll open the dialog for every single ideology, and only the last (the relevant one) will be displayed (since WindowStack.Add removes previous windows of the same type). However, it looks like in MP it tries to sync the method for every single one, but only opens the dialog and creates the session for the first one (an irrelevant one), and the following dialogs will be rejected (since we already have an active session).
Save/replay where the issue is present (drop into MpReplays, don't unpack): RitualIssues.zip
The text was updated successfully, but these errors were encountered:
Accidentally discovered this while working on other stuff. Currently working on a couple of other things, so not working on this at the moment. Not really sure how to approach it either yet.
Reproduction steps:
There's 2 synced calls to
Precept_Ritual.ShowRitualBeginWindow
. After some digging I've learned that what happens is that inside ofGizmoGridDrawer.DrawGizmoGrid
, when a gizmo is clicked then all the other gizmos in the same group (GizmoGridDrawer.gizmoGroups
) will have theirProcessInput
method called as well (as long as they aren't disabled andGizmo.InheritInteractionsFrom
returns true).In SP, it looks like it'll open the dialog for every single ideology, and only the last (the relevant one) will be displayed (since
WindowStack.Add
removes previous windows of the same type). However, it looks like in MP it tries to sync the method for every single one, but only opens the dialog and creates the session for the first one (an irrelevant one), and the following dialogs will be rejected (since we already have an active session).Save/replay where the issue is present (drop into
MpReplays
, don't unpack): RitualIssues.zipThe text was updated successfully, but these errors were encountered: