mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-27 03:47:40 +00:00
fixed sending of cheat keys online
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user