Multiplayer Fix

Fix multiplayer function. The program runs fairly slow.