2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-07-02 01:02:03 +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)) //mod.Set(rt.StringValue("version"), rt.TableValue(versionModule))
// very meta // very meta
if moonlight.IsMidnight() { if !moonlight.IsMidnight() {
//moduleModule := moduleLoader(mlr) moduleModule := moduleLoader(mlr)
//hshMod.SetField("module", moonlight.TableValue(moduleModule)) hshMod.SetField("module", moonlight.TableValue(moduleModule))
} }
return moonlight.TableValue(hshMod) return moonlight.TableValue(hshMod)