Fixed switch in test and readme.

This commit is contained in:
Marvin Blum
2015-10-28 17:50:46 +01:00
parent a64bef135d
commit bba215cd8d
6 changed files with 16 additions and 17 deletions

View File

@@ -90,13 +90,11 @@ each allUnits { // foreach, iterates over all units in this case
// element is available as _x here
}
switch x {
switch x { // there is no "break" in SQF
case 1:
// ...
break;
case 2:
// ...
break;
default:
// ...
}