As someone else pointed out, this isn't a network lag issue, but it's clearly a major issue with how Rogue Company is interacting with your hardware. Next time this happens, can you please send me your RogueCompany.log located in %LOCALAPPDATA%/RogueCompany/Saved/Logs/
?