fix #55
This commit is contained in:
parent
e2e1ee2dfc
commit
f0db0b82fb
|
@ -184,6 +184,8 @@ public class SBOverlay {
|
|||
public void setGameObjects(GameObject[] gameObjects) {
|
||||
if (this.gameObjects.length != gameObjects.length) {
|
||||
optionsMap = new HashMap[gameObjects.length];
|
||||
}
|
||||
if (optionsMap.length > 0) {
|
||||
// copy all current settings in first obj map
|
||||
optionsMap[0] = new HashMap<>();
|
||||
for (Options.GameOption o : options.getSavedOptionList()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user