emptying bindings lines during dettachment

This commit is contained in:
devZoGok
2022-01-11 20:42:31 +02:00
parent 648e4f47a1
commit 3f48f4ff83
+2 -2
View File
@@ -38,8 +38,8 @@ namespace gameBase {
void AbstractAppState::onDettached(){
attached = false;
while(!mappings.empty())
mappings.pop_back();
mappings.clear();
bindingsLines.clear();
}
void AbstractAppState::removeMapping(int bind){