player group logic
mergfix