Commit 07e315dc authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Correctly return group user results in Lua runtime listing operation.

parent 5527c6a5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4,7 +4,8 @@ All notable changes to this project are documented below.
The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org).

## [Unreleased]

### Fixed
- Correctly return group user results in Lua runtime listing operation.

## [2.3.2] - 2019-01-17
### Fixed
+2 −2
Original line number Diff line number Diff line
@@ -4759,8 +4759,8 @@ func (n *RuntimeLuaNakamaModule) groupUsersList(l *lua.LState) int {
		ut.RawSetString("metadata", metadataTable)

		gt := l.CreateTable(0, 2)
		ut.RawSetString("user", ut)
		ut.RawSetString("state", lua.LNumber(ug.State.Value))
		gt.RawSetString("user", ut)
		gt.RawSetString("state", lua.LNumber(ug.State.Value))

		groupUsers.RawSetInt(i+1, gt)
	}