From 154a7c0f768af05c53aca4cff370590a63ba244e Mon Sep 17 00:00:00 2001 From: "johnsonmt88@gmail.com" Date: Sun, 30 Dec 2012 17:51:49 +0000 Subject: [PATCH] The code compiles again but I make no promises about whether or not the piano works. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5425 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/objects/structures/musician.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/objects/structures/musician.dm b/code/game/objects/structures/musician.dm index edc28e5041b..c9bcbda3e5f 100644 --- a/code/game/objects/structures/musician.dm +++ b/code/game/objects/structures/musician.dm @@ -216,10 +216,10 @@ for(var/line in song.lines) //world << line - for(var/beat in dd_text2list(lowertext(line), ",")) + for(var/beat in text2list(lowertext(line), ",")) //world << "beat: [beat]" - var/list/notes = dd_text2list(beat, "/") - for(var/note in dd_text2list(notes[1], "-")) + var/list/notes = text2list(beat, "/") + for(var/note in text2list(notes[1], "-")) //world << "note: [note]" if(!playing || !anchored)//If the piano is playing, or is loose playing = 0 @@ -383,7 +383,7 @@ //split into lines spawn() - var/list/lines = dd_text2list(t, "\n") + var/list/lines = text2list(t, "\n") var/tempo = 5 if(copytext(lines[1],1,6) == "BPM: ") tempo = 600 / text2num(copytext(lines[1],6))