unknown-horizons / godot-port

Unknown Horizons Godot Engine Port
https://www.unknown-horizons.org
GNU General Public License v2.0
663 stars 83 forks source link

Only let the player move their own troops #77

Closed hepfnepf closed 2 years ago

hepfnepf commented 2 years ago

Edited the movement context so that only the players units can be given commands.

You can test it in the WorldTown scene: The pirate ship can be controlled by the player in the current version. With this edit, that's fixed.

artism90 commented 2 years ago

Thanks!

LinuxDonald commented 2 years ago

Thank you for your work on the project :-)