Converts table_smash component into an element (#94585)

## About The Pull Request

<img width="573" height="30" alt="firefox_EhVA73C1LZ"
src="https://github.com/user-attachments/assets/f77baf9c-2585-4cb7-a08f-5ce8322b0a54"
/>

## Why It's Good For The Game

Less overhead and memory usage.

## Changelog

🆑
refactor: refactors table_smash component into an element
/🆑
This commit is contained in:
Bloop
2025-12-25 00:25:49 +01:00
committed by GitHub
parent cab86affff
commit e90fca25d4
4 changed files with 69 additions and 68 deletions
+1 -1
View File
@@ -50,7 +50,7 @@
AddElement(/datum/element/elevation, pixel_shift = 12)
AddElement(/datum/element/give_turf_traits, string_list(turf_traits))
AddElement(/datum/element/footstep_override, footstep = footstep, priority = STEP_SOUND_TABLE_PRIORITY)
AddComponent(/datum/component/table_smash)
AddElement(/datum/element/table_smash)
/obj/structure/platform/add_context(atom/source, list/context, obj/item/held_item, mob/living/user)
. = ..()