From 8d59cbeefb0ef7fa202fa5fc0146af571ed011ba Mon Sep 17 00:00:00 2001 From: joep van der velden Date: Sat, 27 Oct 2018 16:24:32 +0200 Subject: [PATCH] Check first --- code/game/objects/structures/musician.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/objects/structures/musician.dm b/code/game/objects/structures/musician.dm index b8c28046bd3..274645933b2 100644 --- a/code/game/objects/structures/musician.dm +++ b/code/game/objects/structures/musician.dm @@ -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)