MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / LoadDataFiles

Function LoadDataFiles

internal/rooms/roommanager.go:979–990  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

977}
978
979func LoadDataFiles() {
980
981 if len(roomManager.zones) > 0 {
982 mudlog.Info("rooms.LoadDataFiles()", "msg", "skipping reload of room files, rooms shouldn't be hot reloaded from flatfiles.")
983 return
984 }
985
986 if err := loadAllRoomZones(); err != nil {
987 panic(err)
988 }
989
990}

Callers 1

loadAllDataFilesFunction · 0.92

Calls 2

InfoFunction · 0.92
loadAllRoomZonesFunction · 0.85

Tested by

no test coverage detected