Better bloom

This commit is contained in:
Anuken
2022-04-26 00:19:14 -04:00
parent aab6c3a9df
commit f6e0c0ce11
4 changed files with 8 additions and 34 deletions

View File

@@ -36,6 +36,7 @@ public class Door extends Wall{
config(Boolean.class, (DoorBuild base, Boolean open) -> {
doorSound.at(base);
base.effect();
for(DoorBuild entity : base.chained){
//skip doors with things in them
@@ -45,7 +46,6 @@ public class Door extends Wall{
entity.open = open;
pathfinder.updateTile(entity.tile());
entity.effect();
}
});
}