fix: Support for both int and real for set_angle command

This commit is contained in:
Balloonpopper
2022-09-15 22:39:44 +10:00
committed by Julian Murgia
parent d6158b375e
commit fd6142c7c2

View File

@@ -22,7 +22,7 @@ class_name SetAngleCommand
func configure() -> ESCCommandArgumentDescriptor:
return ESCCommandArgumentDescriptor.new(
2,
[TYPE_STRING, TYPE_INT, TYPE_REAL],
[TYPE_STRING, [TYPE_REAL, TYPE_INT], [TYPE_REAL, TYPE_INT]],
[null, null, 0.0]
)