projects
/
heartbreak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c9a94b
)
forgot to test the message
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Wed, 24 Nov 2021 21:05:36 +0000
(15:05 -0600)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Wed, 24 Nov 2021 21:05:36 +0000
(15:05 -0600)
tests/snake.onyx
patch
|
blob
|
history
diff --git
a/tests/snake.onyx
b/tests/snake.onyx
index 23788e3fec089ddab7813bd7ad652538ec4aaf8a..7a3d48c6db8741469822cf11d9bfacba2318259b 100644
(file)
--- a/
tests/snake.onyx
+++ b/
tests/snake.onyx
@@
-173,7
+173,8
@@
draw :: () {
message := "You Lost!";
message_width := hb.graphics.getTextWidth(message);
- hb.graphics.print(title, (~~ww - message_width) / 2, 100);
+ hb.graphics.setColor(1, 1, 1);
+ hb.graphics.print(message, (~~ww - message_width) / 2, 100);
}
}
}