08-15-2022, 08:11 AM
I didn't see "RESTART" in three other places in the program. My bad...
I tested this on Linux but when I try to use one of the arrow keys it has the same effect as pressing escape key. I looked into the subroutine code and discovered "human" variable is set to one when a key is pressed, but farther up it's checked to see if it's non-zero for a press of escape. I changed the line with "if human > 0" but got the same result.
Forgive me if this isn't finished.
I tested this on Linux but when I try to use one of the arrow keys it has the same effect as pressing escape key. I looked into the subroutine code and discovered "human" variable is set to one when a key is pressed, but farther up it's checked to see if it's non-zero for a press of escape. I changed the line with "if human > 0" but got the same result.
Forgive me if this isn't finished.