mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-16 00:02:33 +00:00
Moved 'building' entity definitions into 'structures', renamed building component to structure, moved svgs the same.
This commit is contained in:
@@ -162,7 +162,7 @@ class IMICRTS
|
||||
|
||||
data.assigned_construction_workers ||= 1
|
||||
data.construction_speed ||= 1
|
||||
component(:building).construction_work(data.assigned_construction_workers * data.construction_speed) if component(:building)
|
||||
component(:structure).construction_work(data.assigned_construction_workers * data.construction_speed) if component(:structure)
|
||||
end
|
||||
|
||||
def on_tick(&block)
|
||||
|
||||
Reference in New Issue
Block a user