2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-07-01 08:42:04 +00:00

fix: inverse midnight check

This commit is contained in:
sammyette 2025-06-14 10:29:27 -04:00
parent 9e77f0ba32
commit 9aa0a499c9
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

6
api.go
View File

@ -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)