mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Change exit keybinding and fix bug in allow_close[]
This commit is contained in:
parent
d6d045aad4
commit
233ffbe384
3 changed files with 5 additions and 2 deletions
|
@ -206,7 +206,10 @@ public:
|
|||
|
||||
void defaultAllowClose(bool value)
|
||||
{
|
||||
// Also set m_allowclose here in order to have the correct value if
|
||||
// escape is pressed before regenerateGui() is called.
|
||||
m_default_allowclose = value;
|
||||
m_allowclose = value;
|
||||
}
|
||||
|
||||
void setDebugView(bool value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue