From f9fe1ea9008c25d1cf5f6b8a85364ca073e54bfc Mon Sep 17 00:00:00 2001 From: biwa <6475593+biwa@users.noreply.github.com> Date: Sat, 9 Apr 2022 17:12:13 +0200 Subject: [PATCH] UDBScript: fixed a problem in the voodoo doll example script when the "looping" option was set to true --- Build/UDBScript/Scripts/Examples/Geometry/voodoodollcloset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/UDBScript/Scripts/Examples/Geometry/voodoodollcloset.js b/Build/UDBScript/Scripts/Examples/Geometry/voodoodollcloset.js index 41d51a56..cc32d6c9 100644 --- a/Build/UDBScript/Scripts/Examples/Geometry/voodoodollcloset.js +++ b/Build/UDBScript/Scripts/Examples/Geometry/voodoodollcloset.js @@ -147,7 +147,7 @@ if(UDB.ScriptOptions.inactive) if(UDB.ScriptOptions.looping) { // Create the teleport destination line - p.setAngle(90 * ScriptOptions.direction).moveTo(basepos) + p.setAngle(90 * UDB.ScriptOptions.direction).moveTo(basepos) .moveForward(32).turnRight().moveForward(8).drawVertex() .moveForward(closetwidth - 16).drawVertex();