Tweaked ui a bit, updated Credits, stubbed load menu, fixed crash when stopping helicopter, Stop order is now only emitted if player has entities selected.

This commit is contained in:
2021-01-04 09:33:07 -06:00
parent f3fccc8b24
commit 7087316347
18 changed files with 93 additions and 56 deletions

View File

@@ -99,7 +99,7 @@ class IMICRTS
def target=(entity)
@target = entity
component(:movement).pathfinder = @director.find_path(player: @player, entity: self, goal: @target) if component(:movement) && @movement == :ground
component(:movement).pathfinder = @director.find_path(player: @player, entity: self, goal: @target) if @target && component(:movement) && @movement == :ground
end
def hit?(x_or_vector, y = nil)