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:
parent
9e77f0ba32
commit
9aa0a499c9
6
api.go
6
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user