Skip to content

Commit 988e914

Browse files
authored
Update QuickStart-Unity.md
1 parent da42cd4 commit 988e914

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)