mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 12:35:33 +01:00
Cleans up some sparks code
This commit is contained in:
@@ -26,10 +26,11 @@
|
||||
qdel(D)
|
||||
if(!QDELETED(D))
|
||||
vv_update_display(D, "deleted", "")
|
||||
// Skyrat edit addition start -- optional bluespace sparks on delete
|
||||
// BUBBER EDIT - ADDITION - START
|
||||
if(T && prefs.read_preference(/datum/preference/toggle/admin/delete_sparks))
|
||||
playsound(T, 'sound/effects/magic/repulse.ogg', 100, 1)
|
||||
var/datum/effect_system/spark_spread/quantum/sparks = new
|
||||
sparks.set_up(10, 1, T)
|
||||
var/datum/effect_system/basic/spark_spread/quantum/sparks = new
|
||||
sparks = new(T, 2, FALSE)
|
||||
sparks.attach(T)
|
||||
sparks.start()
|
||||
// BUBBER EDIT - ADDITION - END
|
||||
|
||||
Reference in New Issue
Block a user