mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Converts most common particle sources to use our new pooling system (#88048)
## About The Pull Request Closes #83370 Converted most cases where we could benefit from using shared particles (aka when there's probably more than 3 uses of that particle in a round) to use the new shared particle system. Should provide significant clientside performance in particle-heavy areas like botany (or sometimes kitchen) ## Changelog 🆑 refactor: Converted most common particle sources to use our new pooling system. /🆑
This commit is contained in:
@@ -817,7 +817,11 @@
|
||||
|
||||
/obj/item/drake_remains/Initialize(mapload)
|
||||
. = ..()
|
||||
particles = new /particles/bonfire()
|
||||
add_shared_particles(/particles/bonfire)
|
||||
|
||||
/obj/item/drake_remains/Destroy(force)
|
||||
remove_shared_particles(/particles/bonfire)
|
||||
return ..()
|
||||
|
||||
/obj/item/clothing/glasses/godeye
|
||||
name = "eye of god"
|
||||
|
||||
Reference in New Issue
Block a user