Merge pull request #10012 from farie82/Piano-runtime

Fixes the runtime in the piano init
This commit is contained in:
variableundefined
2018-10-27 22:55:18 +08:00
committed by GitHub
+2 -1
View File
@@ -296,7 +296,8 @@
return ..()
/obj/structure/piano/Initialize()
song.tempo = song.sanitize_tempo(song.tempo) // tick_lag isn't set when the map is loaded
if(song)
song.tempo = song.sanitize_tempo(song.tempo) // tick_lag isn't set when the map is loaded
..()
/obj/structure/piano/attack_hand(mob/user as mob)