Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable the destruction of glitched wood fences (#2027)
--- <details open><summary>Generated summary (powered by <a href="https://app.graphite.dev">Graphite</a>)</summary> > ## TL;DR > This pull request introduces a temporary hack to prevent certain models from being destroyed by setting their maximum health to the maximum value of a 32-bit unsigned integer. > > ## What changed > The maximum health for the following models: `FENCES_WOOD_PLANKS_GREY_1X1`, `FENCES_WOOD_PLANKS_GREY_POSTS_1X2`, and `FENCES_WOOD_PLANKS_GREY_GAP_1X1` has been changed from `7500` to `MAX_UINT32` (the maximum value of a 32-bit unsigned integer). This change effectively makes these models indestructible, unless you really want to destroy them. > > ## How to test > To test this change, you can try to destroy the aforementioned models in the game. You should find that they are now indestructible. > > ## Why make this change > This change was made as a temporary solution to prevent these models from being destroyed. This could be useful in scenarios where these models are used as part of the game's infrastructure and should not be destructible by players. </details>
- Loading branch information