Commit 453d8a74 authored by adud's avatar adud

fix error in error message in nearest gap test

Tried to implicitely convert Vector2 in Float...
This is an argument for typing GDScript
parent ac847065
......@@ -120,10 +120,8 @@ func test_disposition(n):
pos = text[i].get_position() + twid
gap = get_nearest_gap(pos)
if gap != i:
push_error("Nearest Gap Error: should be %d, is %d, pos %f"
push_error("Nearest Gap Error: should be %s, is %s, pos %s"
% [i, gap, pos])
else:
print(twid)
# Called when the node enters the scene tree for the first time.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment