Fix bug preventing the previous buttons mapping to be restored

This commit is contained in:
Tissevert 2018-11-29 21:59:18 +01:00
parent 78aa3f6281
commit 242b97e745

View file

@ -21,6 +21,7 @@ function Buttons(session) {
function pop() { function pop() {
mappingsStack.pop(); mappingsStack.pop();
map(mappingsStack[mappingsStack.length-1]);
} }
function push(newMapping) { function push(newMapping) {