mirror of
https://github.com/Hilbis/Hilbish
synced 2025-07-01 16:52:03 +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))
|
//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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user