Rename the world tick function and set the tick rate back to default

This commit is contained in:
Marc Di Luzio 2020-07-22 19:24:36 +01:00
parent 8667f55143
commit 6b5d5abea1
5 changed files with 9 additions and 10 deletions
pkg/rove

View file

@ -464,8 +464,8 @@ func (w *World) EnqueueAllIncoming() {
w.CommandIncoming = make(map[string]CommandStream)
}
// ExecuteCommandQueues will execute any commands in the current command queue
func (w *World) ExecuteCommandQueues() {
// Tick will execute any commands in the current command queue and tick the world
func (w *World) Tick() {
w.cmdMutex.Lock()
defer w.cmdMutex.Unlock()