summaryrefslogtreecommitdiffhomepage
path: root/samples/01_rendering_basics/01_labels/app
diff options
context:
space:
mode:
Diffstat (limited to 'samples/01_rendering_basics/01_labels/app')
-rw-r--r--samples/01_rendering_basics/01_labels/app/main.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/01_rendering_basics/01_labels/app/main.rb b/samples/01_rendering_basics/01_labels/app/main.rb
index c3e1afc..837954f 100644
--- a/samples/01_rendering_basics/01_labels/app/main.rb
+++ b/samples/01_rendering_basics/01_labels/app/main.rb
@@ -67,7 +67,7 @@ def tick args
g: 0,
b: 200,
a: 255,
- font: "manaspc.ttf" }.label
+ font: "manaspc.ttf" }.label!
# Primitives can hold anything, and can be given a label in the following forms
args.outputs.primitives << [690 + 150, 330 - 80, "Custom font (.primitives Array)", 0, 1, 125, 0, 200, 255, "manaspc.ttf" ].label
@@ -81,7 +81,7 @@ def tick args
g: 0,
b: 200,
a: 255,
- font: "manaspc.ttf" }.label
+ font: "manaspc.ttf" }.label!
end
def tick_instructions args, text, y = 715