aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_undig.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-18 16:13:49 -0400
committerhistoria <[not public]>2026-09-18 16:13:49 -0400
commit194164a77eb4f2479b94c19e6f0e1278ab608781 (patch)
tree53413add8ed6f32a34d1733397e380cc98ef70ef /internal/game/cmd_undig.go
parent67e01aab85607b9e601185c7d62dff576af3bb43 (diff)
downloadthehouseoficarus-194164a77eb4f2479b94c19e6f0e1278ab608781.tar.gz
fix: more casino, economy, gameplay, security, and world data hardening gaps
Diffstat (limited to 'internal/game/cmd_undig.go')
-rw-r--r--internal/game/cmd_undig.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_undig.go b/internal/game/cmd_undig.go
index 8a47db9..a0fd1a0 100644
--- a/internal/game/cmd_undig.go
+++ b/internal/game/cmd_undig.go
@@ -204,7 +204,7 @@ func (g *Game) performUndig(sess *net.Session, p *player.Player, targetID int) {
if merr != nil {
return nil
}
- if werr := os.WriteFile(path, newData, 0644); werr != nil {
+ if werr := writeRoomFile(path, newData); werr != nil {
return werr
}
cleaned++