From 9aa0a499c951556f809073dd983354a3d8c50875 Mon Sep 17 00:00:00 2001 From: sammy-ette Date: Sat, 14 Jun 2025 10:29:27 -0400 Subject: [PATCH] fix: inverse midnight check --- api.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api.go b/api.go index 45335be5..11c264d2 100644 --- a/api.go +++ b/api.go @@ -136,9 +136,9 @@ func hilbishLoader(mlr *moonlight.Runtime) moonlight.Value { //mod.Set(rt.StringValue("version"), rt.TableValue(versionModule)) // very meta - if moonlight.IsMidnight() { - //moduleModule := moduleLoader(mlr) - //hshMod.SetField("module", moonlight.TableValue(moduleModule)) + if !moonlight.IsMidnight() { + moduleModule := moduleLoader(mlr) + hshMod.SetField("module", moonlight.TableValue(moduleModule)) } return moonlight.TableValue(hshMod)