tweak: drought
This commit is contained in:
parent
8dce162677
commit
6f5f3715e6
|
@ -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)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user