aboutsummaryrefslogtreecommitdiff
path: root/cmd/mud/main.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-15 02:57:35 -0400
committerhistoria <[not public]>2026-06-15 02:58:50 -0400
commit4cc1ddcd185509080b4b3e15d1646567edd51c9d (patch)
tree2a564846ad4fd159a2d7e55451bfa9569fe8c0b8 /cmd/mud/main.go
parent445c4612cc5cf2c226f85894b6ad1e2419a374e2 (diff)
downloadthehouseoficarus-4cc1ddcd185509080b4b3e15d1646567edd51c9d.tar.gz
removed game speed for being broken and an antifeature anyway. added color support.
Diffstat (limited to 'cmd/mud/main.go')
-rw-r--r--cmd/mud/main.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/cmd/mud/main.go b/cmd/mud/main.go
index 6940cd6..c96a0e9 100644
--- a/cmd/mud/main.go
+++ b/cmd/mud/main.go
@@ -8,7 +8,6 @@ import (
"os/signal"
"syscall"
- "thirdcollapse/internal/combat"
"thirdcollapse/internal/config"
"thirdcollapse/internal/game"
"thirdcollapse/internal/net"
@@ -37,10 +36,6 @@ func main() {
}
g := game.New(dataDir)
- g.GameSpeed = cfg.Game.GameSpeed
- if g.GameSpeed <= 0 {
- g.GameSpeed = 1.0
- }
g.Ticks.Start(cfg.Game.TickLength)
defer g.Ticks.Stop()
@@ -48,7 +43,7 @@ func main() {
g.ProcessQueuedCommands()
g.World.Tick()
g.MobStore.Tick()
- combat.TickCombat()
+ g.TickCombat()
g.RegenTick()
g.DisconnectTick()
g.WanderTick()