TFlippy / kag_territorycontrol

King Arthur's Gold - Territory Control Mod
https://forum.thd.vg/threads/territory-control-official-forum-badgers.26614/
19 stars 26 forks source link

Fixed vehicles' unreasonable bullet-count on server #339

Closed Gingerbeard5773 closed 2 years ago

Gingerbeard5773 commented 2 years ago

The issue was caused by commands being sent from all players on the server. This PR adds a isMyPlayer() check to every instance where vehicles shoot, which solves the bug.

Pirate-Rob commented 2 years ago

Seems good, was this tested on dedi?

Gingerbeard5773 commented 2 years ago

Yes