Commit 6c2665d
authored
Update order-search-filter.lua
Added
self:drop_deleted_from_snapshot(self:detect_deleted_ids())
I was receiving a crash while troubleshooting. With this change, the crash no longer occurs.
Repro steps:
Open the work order menu
Search: meal
Delete Easy Meal and Lavish Meal
Exit the work order menu
Re-enter the work order menu
Search: meal
Error:
The deleted Easy Meal and Lavish Meal reappear. This is an error. If the user attempts to delete them again or quit, the game crashes.1 parent abbd833 commit 6c2665d
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
| |||
0 commit comments