Skip to content
Permalink
Browse files

Fixed an issue that caused only fields with the same name as the TMX …

…property to be loaded.
  • Loading branch information...
steffen-wilke committed Jan 17, 2019
1 parent 1b5aa70 commit e5da3605e4c821e52ec856d727297cf60ef8b864
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/de/gurkenlabs/litiengine/environment/MapObjectLoader.java
@@ -82,7 +82,7 @@ private static void loadCustomMapObjectProperties(IEntity entity, IMapObject map
continue;
}

ReflectionUtilities.setFieldValue(entity.getClass(), entity, property.name(), value);
ReflectionUtilities.setFieldValue(entity.getClass(), entity, field.getName(), value);
}
}

0 comments on commit e5da360

Please sign in to comment.
You can’t perform that action at this time.