diff --git a/bin/data.dart b/bin/data.dart index d37c9ea3..fac2d79d 100644 --- a/bin/data.dart +++ b/bin/data.dart @@ -958,7 +958,9 @@ class CustomPrefab with EntityBase, HasInitiativeMod, HasImage { CustomPrefab.create(Game game, this.id) : _image = ControlledResource.empty(game), name = '', - accessIds = []; + accessIds = [] { + size = 1; + } CustomPrefab.fromJson(Game game, Map json) : id = json['id'], _image = ControlledResource.path(game, json['image']) {