mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-16 08:55:31 +01:00
Fix Stage init
This commit is contained in:
@@ -27,6 +27,7 @@ type Stage struct {
|
|||||||
// NewStage creates a new stage with intialized values.
|
// NewStage creates a new stage with intialized values.
|
||||||
func NewStage(ID string) *Stage {
|
func NewStage(ID string) *Stage {
|
||||||
s := &Stage{
|
s := &Stage{
|
||||||
|
id: ID,
|
||||||
objects: make(map[uint32]*StageObject),
|
objects: make(map[uint32]*StageObject),
|
||||||
clients: make(map[*Session]uint32),
|
clients: make(map[*Session]uint32),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user