mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-22 20:02:48 +00:00
UDBScript: fixed a problem in the voodoo doll example script when the "looping" option was set to true
This commit is contained in:
parent
5cb40a23c2
commit
f9fe1ea900
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ if(UDB.ScriptOptions.inactive)
|
||||||
if(UDB.ScriptOptions.looping)
|
if(UDB.ScriptOptions.looping)
|
||||||
{
|
{
|
||||||
// Create the teleport destination line
|
// 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(32).turnRight().moveForward(8).drawVertex()
|
||||||
.moveForward(closetwidth - 16).drawVertex();
|
.moveForward(closetwidth - 16).drawVertex();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue