aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/api_mobs.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-01 16:37:45 -0400
committerhistoria <[not public]>2026-07-01 16:37:45 -0400
commite6b4cb9f5816c6ee239233bc85f74ee446a161c2 (patch)
tree1c3bf71c8b7f095baae989afe5e33183a7ed3929 /internal/admin/api_mobs.go
parent649ef4b7416ce7053145878841fc9b0bff2f5fec (diff)
downloadthehouseoficarus-e6b4cb9f5816c6ee239233bc85f74ee446a161c2.tar.gz
feat: shop system overhauled, gui conversation tree editor overhauled
Diffstat (limited to 'internal/admin/api_mobs.go')
-rw-r--r--internal/admin/api_mobs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/admin/api_mobs.go b/internal/admin/api_mobs.go
index da088d3..a575076 100644
--- a/internal/admin/api_mobs.go
+++ b/internal/admin/api_mobs.go
@@ -95,6 +95,7 @@ func (s *AdminServer) updateMob(w http.ResponseWriter, r *http.Request, id strin
http.Error(w, `{"error":"failed to write mob"}`, http.StatusInternalServerError)
return
}
+ m["_raw"] = string(newContent)
s.mobStore.ReloadDefs(s.dataDir)
s.undoStack.Push(ChangeDesc{
Description: fmt.Sprintf("Update mob %s", id),