Update functions.lua

Fix: After the round if someone kills is the winner, and the pvp is still running.
Merge pull request #3 from agusnat16/patch-2

Fix: After the round if someone kills is the winner, and the pvp is still running.