monofuel / badmars

html5 multiplayer rts game
https://japura.net/badmars
Other
4 stars 1 forks source link

fix resource transferring #38

Open monofuel opened 7 years ago

monofuel commented 7 years ago

broke resource transferring again.

monofuel commented 6 years ago

half fixed, only works in one direction.

code currently expects src to always be a movable unit, and it needs to properly handle negative numbers (to give instead of take)

monofuel commented 6 years ago

Resource transferring works for factories, builders will need more testing.