mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-18 14:24:07 +00:00
fixed sending of cheat keys online
This commit is contained in:
parent
01209bbd12
commit
6cf800859e
@ -301,7 +301,7 @@ purehookset hooks_fixticks;
|
|||||||
|
|
||||||
void handleKeyNormal(int sym, int uni) {
|
void handleKeyNormal(int sym, int uni) {
|
||||||
|
|
||||||
if(cheater) {
|
if(cheater && sym < 256 && sym > 0) {
|
||||||
if(applyCheat(uni, mouseover))
|
if(applyCheat(uni, mouseover))
|
||||||
sym = 0;
|
sym = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user