Commit 96689dec authored by Viktor Lidholt's avatar Viktor Lidholt

Fixes issue with physics collision groups

parent 7ae730bb
......@@ -12,7 +12,7 @@ class _PhysicsCollisionGroups {
List<Object> getKeysForBitmask(int bitmask) {
List<Object> keys = [];
keyLookup.forEach((Object key, int value) {
if (value & bitmask != null) {
if (value & bitmask != 0) {
keys.add(key);
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment