Skip to content

Commit 0dea6a2

Browse files
fix doorRestart script error
1 parent 2d1a0cf commit 0dea6a2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Code/Examples/DoorRestartScript.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
namespace SER.Code.Examples;
1+
using JetBrains.Annotations;
22

3+
namespace SER.Code.Examples;
4+
5+
[UsedImplicitly]
36
public class DoorRestartScript : Example
47
{
58
public override string Name => "doorRestart";
@@ -11,7 +14,7 @@ Cassie jingle "ATTENTIONALLPERSONNEL . DOOR CONTROL CONSOLE MALFUNCTION DETECTED
1114
1215
# wait for cassie to finish before restarting doors
1316
Wait 1s
14-
WaitUntil ({IsCassieSpeaking} == false)
17+
WaitUntil ({IsCassieSpeaking} is false)
1518
1619
# restart effects
1720
LightsOut * 15s
@@ -20,7 +23,7 @@ Wait 1s
2023
2124
# cassie for spooky effect
2225
repeat 2
23-
Cassie noJingle "pitch_{RandomNum 0.15 0.25} .g{RandomNum 1 6 int}"
26+
Cassie noJingle "pitch_{RandomNum 0.15 0.25 real} .g{RandomNum 1 6 int}"
2427
end
2528
2629
# duration of the restart

0 commit comments

Comments
 (0)