mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-29 15:11:56 +00:00
UDBScript examples: fixed a problem in the "Create Line Portal" script where not all arguments of the selected lines were reset. Fixes #1026
This commit is contained in:
parent
f9dd98695b
commit
f28a4b10a8
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ let newtag = UDB.Map.getNewTag();
|
||||||
|
|
||||||
// Set the action, arg, and tag of both lines
|
// Set the action, arg, and tag of both lines
|
||||||
lines[0].action = lines[1].action = 301; // Line_QuickPortal
|
lines[0].action = lines[1].action = 301; // Line_QuickPortal
|
||||||
lines[0].args[0] = lines[1].args[0] = 0;
|
for(let i=0; i <= 4; i++) lines[0].args[i] = lines[1].args[i] = 0;
|
||||||
lines[0].tag = lines[1].tag = newtag;
|
lines[0].tag = lines[1].tag = newtag;
|
||||||
|
|
||||||
// Draw the sectors behind the portal
|
// Draw the sectors behind the portal
|
||||||
|
|
Loading…
Reference in a new issue