mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-27 14:21:14 +00:00
13 lines
268 B
JavaScript
13 lines
268 B
JavaScript
/// <reference path="../udbscript.d.ts" />
|
|
|
|
`#version 5`;
|
|
|
|
`#name Reset linedef actions`;
|
|
|
|
`#description Resets the action of all selected linedefs to 0.`;
|
|
|
|
UDB.Map.getSelectedOrHighlightedLinedefs().forEach(line => {
|
|
if (line.action > 0) {
|
|
line.action = 0;
|
|
}
|
|
});
|