Commit f8e4ab5
GameState: The lambda function inside trinkets.map(), make it a named function.
Extract the lambda into a named _trinket_to_dict() function and simplify the _update_trinkets_state() call. Remove the gdformat:disable/enable comments that are no longer needed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4c6038e commit f8e4ab5
1 file changed
Lines changed: 11 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
312 | 321 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
| 322 | + | |
327 | 323 | | |
328 | 324 | | |
329 | 325 | | |
| |||
0 commit comments