mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-14 07:12:34 +00:00
Updated Camera to use Matrix, Map now draws image tiles instead of rects, fixed selected units order pushing full array instead of contents of array.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
IMICRTS::Order.define_handler(IMICRTS::Order::SELECTED_UNITS, arguments: [:player_id, :ids]) do |order, director|
|
||||
director.player(order.player_id).selected_entities.clear
|
||||
director.player(order.player_id).selected_entities.push(order.ids)
|
||||
director.player(order.player_id).selected_entities.push(*order.ids)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user