Fixed zooming issue with camera and ensured producers produce at least one.

This commit is contained in:
2026-06-13 15:34:33 -06:00
parent 5e47e02118
commit f629454f45
3 changed files with 18 additions and 5 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ class Producer
def initialize(x, y, number, rate)
@x = x
@y = y
@number = number
@number = [number, 1].max
@rate = (30/rate).to_i
@image = Gosu.render(30, 30) {
# Render the item