DrawText not working(?) when used a second time? #98
Unanswered
QuantumToasted
asked this question in
Q&A
Replies: 1 comment 3 replies
-
try removing |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't know if this is a bug or PEBKAC, but I believe it's the latter, but I needed a second pair of eyes because I'm probably just missing something. I did not submit it as an Issue/bug report because I didn't want to make a fool of myself when I likely am just messing something up.
My code is below. Sorry for the consts everywhere. If more context is needed, it can be given.
I've commented the lines that are causing issues for reasons unknown.
Code
Tested with two different maximum numbers of tributes per district.
Each tribute should have their status (Alive, Deceased) above their avatar, and their name below it. However, only the first tribute (per district) has these. Even though this is processed in a
foreach
loop for each tribute in a completely separate "box", it's going way over my head why this could be the case. Any advice or extra pairs of eyes to find an errant line(s) of code explaining why it's all messed up would be greatly appreciated.Beta Was this translation helpful? Give feedback.
All reactions