From a1b6613c6c6a2f8d6e1ecd47e766bd40f92ac295 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 28 Jun 2026 02:40:30 -0400 Subject: feat: admin accounts, god mode, OLC commands like dig/room, 'inline' objects changed to 'local' objects --- internal/behavior/store.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'internal/behavior/store.go') diff --git a/internal/behavior/store.go b/internal/behavior/store.go index 7695b8d..710506e 100644 --- a/internal/behavior/store.go +++ b/internal/behavior/store.go @@ -103,6 +103,12 @@ func loadDropIndex(dataDir string) map[string]string { return dropIndex } +func ClearDropIndex() { + dropIndexMu.Lock() + defer dropIndexMu.Unlock() + dropIndex = nil +} + func LoadDropTable(dataDir, id string) (*DropTableDef, error) { index := loadDropIndex(dataDir) path, ok := index[id] -- cgit v1.2.3