Commit c948303
authored
SetHoveredPieSlice - unset m_ActiveSubPieMenu if set
When a different (or null) pie slice is selected, the current subpiemenu is obviously not relevant. Don't set it.
This fixes a crash if the player goes into a subpiemenu, and, while holding pie menu button, switches actors (hence setting hovered pie slice to null, but leaving m_ActiveSubPieMenu set), then switches back, and tries to open pie menu again, causing a crash in `Update` on line 568.1 parent 07bb70b commit c948303
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1212 | 1212 | | |
1213 | 1213 | | |
1214 | 1214 | | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
1215 | 1220 | | |
1216 | 1221 | | |
1217 | 1222 | | |
| |||
0 commit comments