Commit 1e50d27
authored
Add missing alarm car hittable check (#960)
* Add a fallback for breakable hittables
Fix:
- Hittable pieces will now make a new entry if the breakable parent doesn't have one, to resolve potential overhit issues.
* Fallback to classname check and remove `OnEntityDestroyed`
Change:
- Added back the classname check in `OnTakeDamage`, and remove unnecessary resetting in `OnEntityDestroyed`.
- Minor debug message changes.
* Add forgotten "prop_car_alarm"
FML1 parent b34e802 commit 1e50d27
2 files changed
Lines changed: 3 additions & 3 deletions
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | | - | |
| 604 | + | |
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
| |||
0 commit comments