fix results

This commit is contained in:
s2
2013-04-06 11:04:09 +02:00
parent 71018e2880
commit 48ca2eae8b

View File

@@ -47,12 +47,12 @@ if (typeof(sw) == 'undefined') {
sw.gameover = true; sw.gameover = true;
var result = 'Sehr gut!'; var result = 'Sehr gut!';
if (sw.wrongWords > 1 || sw.finaltime > 60) {
result = 'geht so...';
};
if (sw.wrongWords > 1 || sw.finaltime > 50) { if (sw.wrongWords > 1 || sw.finaltime > 50) {
result = 'Du kannst das besser!'; result = 'Du kannst das besser!';
}; };
if (sw.wrongWords > 1 || sw.finaltime > 60) {
result = 'geht so...';
};
if (sw.wrongWords > 1 && sw.finaltime < 40) { if (sw.wrongWords > 1 && sw.finaltime < 40) {
result = 'Du bist sehr schnell, aber du hast Fehler gemacht'; result = 'Du bist sehr schnell, aber du hast Fehler gemacht';
}; };