Skip to content

Commit 1bf7daf

Browse files
authored
Merge pull request #79 from dherault/patch-1
Update QuickStart-Unity.md
2 parents da42cd4 + 988e914 commit 1bf7daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/QuickStart-Unity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public class Soldier : UGig{ // or `Gig`
8383
When assigning or returning a status, use `done`, `fail` or `cont`:
8484

8585
```cs
86-
status Attack() => hasWeapon ? fail : Play("Strike");
86+
status Attack() => hasWeapon ? Play("Strike") : fail;
8787
```
8888

8989
AL does not restrict status expressions to sequences and selectors

0 commit comments

Comments
 (0)