tweak: drought

This commit is contained in:
cha0s 2021-05-10 02:53:07 -05:00
parent 8dce162677
commit 6f5f3715e6

View File

@ -33,8 +33,8 @@ export default (Room) => class extends Room.Renderable {
else if (amount < 0) {
primitives.drawRectangle(
[x, y, tw, th],
Primitives.lineStyle(new Color(180, 180, 32, Math.abs(amount) / 512), 0),
Primitives.fillStyle(new Color(180, 180, 32, Math.abs(amount) / 512)),
Primitives.lineStyle(new Color(180, 180, 32, Math.abs(amount) / 384), 0),
Primitives.fillStyle(new Color(180, 180, 32, Math.abs(amount) / 384)),
);
}
}