Nasal: fix gui.setCursor without cursor (aka warp)
This commit is contained in:
parent
e1c200dbde
commit
785a334628
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ var setCursor = func(x = nil, y = nil, cursor = nil) {
|
||||||
args.getNode("cursor", 1).setIntValue(cursor);
|
args.getNode("cursor", 1).setIntValue(cursor);
|
||||||
}
|
}
|
||||||
fgcommand("set-cursor", args);
|
fgcommand("set-cursor", args);
|
||||||
return args.getNode("cursor").getValue();
|
return args.getValue("cursor");
|
||||||
}
|
}
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
Loading…
Add table
Reference in a new issue