mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
audio: Bug fix: Test compilation error
This commit is contained in:
parent
14404334e7
commit
28c96d256a
@ -16,8 +16,8 @@ package audio
|
|||||||
|
|
||||||
func PlayersNumForTesting() int {
|
func PlayersNumForTesting() int {
|
||||||
c := CurrentContext()
|
c := CurrentContext()
|
||||||
c.players.Lock()
|
c.mux.m.Lock()
|
||||||
n := len(c.players.players)
|
n := len(c.mux.ps)
|
||||||
c.players.Unlock()
|
c.mux.m.Unlock()
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user