mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-15 15:52:34 +00:00
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:
@@ -10,6 +10,8 @@ class IMICRTS
|
||||
|
||||
follow_path
|
||||
else
|
||||
return unless @parent.target
|
||||
|
||||
rotate_towards(@parent.target)
|
||||
@parent.position -= (@parent.position.xy - @parent.target.xy).normalized * @parent.speed
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user