Preference option for instruments/sanitize tempo

This commit is contained in:
Markolie
2015-09-23 07:00:01 +02:00
parent 793b86b286
commit 73bacbf17f
4 changed files with 48 additions and 24 deletions
@@ -18,6 +18,10 @@
qdel(song)
song = null
return ..()
/obj/item/device/violin/initialize()
song.tempo = song.sanitize_tempo(song.tempo) // tick_lag isn't set when the map is loaded
..()
/obj/item/device/violin/attack_self(mob/user as mob)
interact(user)