Moved 'building' entity definitions into 'structures', renamed building component to structure, moved svgs the same.

This commit is contained in:
2021-01-15 11:05:57 -06:00
parent 36f79c6f57
commit e30d73d4d7
19 changed files with 29 additions and 29 deletions

View File

@@ -1,7 +1,7 @@
IMICRTS::Order.define_handler(IMICRTS::Order::CONSTRUCTION_COMPLETE, arguments: [:player_id, :entity_id]) do |order, director|
entity = director.player(order.player_id).entity(order.entity_id)
entity.component(:building).data.construction_complete = true
entity.component(:structure).data.construction_complete = true
end
IMICRTS::Order.define_serializer(IMICRTS::Order::CONSTRUCTION_COMPLETE) do |order, director|