Commit 0a6049d8 authored by Mo Firouz's avatar Mo Firouz
Browse files

Fix missing match_join in p2prelayer lua code.

parent fe5c27c3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -37,6 +37,10 @@ function M.match_join_attempt(context, dispatcher, tick, state, presence)
  return state, true
end

function M.match_join(context, dispatcher, tick, state, presences)
  return state
end

function M.match_leave(context, dispatcher, tick, state, presence)
  return state
end
+2 −1
Original line number Diff line number Diff line
@@ -17,10 +17,11 @@ package server
import (
	"context"
	"database/sql"
	"go.uber.org/atomic"
	"sync"
	"time"

	"go.uber.org/atomic"

	"go.uber.org/zap"
)

+3 −2
Original line number Diff line number Diff line
@@ -18,6 +18,9 @@ import (
	"context"
	"encoding/json"
	"fmt"
	"sync"
	"time"

	"github.com/blevesearch/bleve"
	"github.com/blevesearch/bleve/analysis/analyzer/keyword"
	"github.com/gofrs/uuid"
@@ -26,8 +29,6 @@ import (
	"github.com/pkg/errors"
	"go.uber.org/atomic"
	"go.uber.org/zap"
	"sync"
	"time"
)

var (
+2 −1
Original line number Diff line number Diff line
@@ -15,9 +15,10 @@
package server

import (
	"github.com/blevesearch/bleve/analysis/analyzer/keyword"
	"sync"

	"github.com/blevesearch/bleve/analysis/analyzer/keyword"

	"github.com/blevesearch/bleve"
	"github.com/gofrs/uuid"
	"github.com/heroiclabs/nakama/runtime"
+2 −1
Original line number Diff line number Diff line
@@ -19,12 +19,13 @@ import (
	"strings"

	"crypto"
	"time"

	"github.com/dgrijalva/jwt-go"
	"github.com/gofrs/uuid"
	"github.com/golang/protobuf/ptypes/wrappers"
	"github.com/heroiclabs/nakama/rtapi"
	"go.uber.org/zap"
	"time"
)

type matchDataFilter struct {
Loading