EDIT: Ignore the indentation errors.
mob
global
playerone
playertwo
playerone=src
playertwo=m
proc
game_end(mob/a,mob/b)
a.inmatch=0
a.inmatchs=0
b.inmatch=0
b.inmatchs=0
matchstarted=0
//a.client=playerone
b.client=playertwo
//a.loc=locate(rand(2,9),rand(2,9),2)
b.loc=locate(rand(2,9),rand(2,9),2)
b<<"test."
for(var/mob/soldiers/n)
if(istype(n))
del n //switch clients before deleting N...
mob
verb
that()
game_end(playerone,playertwo)
check()
world<<"[playerone] is player 1, [playertwo] is player 2."