mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
Merge branch 'master' of github.com:tgstation/-tg-station into FUTURE_DNA_2
Conflicts: code/game/dna.dm <-- leave this shit alone unless it's a small-tidy change. ffs.
This commit is contained in:
@@ -190,7 +190,7 @@
|
||||
spawn()
|
||||
lines = text2list(t, "\n")
|
||||
if(copytext(lines[1],1,6) == "BPM: ")
|
||||
tempo = 600 / text2num(copytext(lines[1],6))
|
||||
tempo = 600 / max(1, text2num(copytext(lines[1],6)))
|
||||
lines.Cut(1,2)
|
||||
else
|
||||
tempo = 5 // default 120 BPM
|
||||
|
||||
Reference in New Issue
Block a user