mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
mapeditor:: no more crashing on 'c'opying outside of map
This commit is contained in:
parent
9c47d67b89
commit
44c3e2eb0a
@ -947,7 +947,7 @@ namespace mapeditor {
|
||||
else if(sym == SDLK_F8) {
|
||||
pushScreen(map_settings);
|
||||
}
|
||||
else if(uni == 'c') {
|
||||
else if(uni == 'c' && mouseover) {
|
||||
copysource = mouseover_cw(true);
|
||||
painttype = 4;
|
||||
paintwhat_str = XLAT("copying");
|
||||
|
Loading…
Reference in New Issue
Block a user