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
This commit is contained in:
johnsonmt88@gmail.com
2012-12-30 17:51:49 +00:00
parent 2bd3025fe1
commit 154a7c0f76
+4 -4
View File
@@ -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))