fuck me
This commit is contained in:
@@ -11,16 +11,22 @@ local options = {
|
|||||||
if ModOptions and ModOptions.getInstance then
|
if ModOptions and ModOptions.getInstance then
|
||||||
print("TOC: Found ModOptions, loading it")
|
print("TOC: Found ModOptions, loading it")
|
||||||
local settings = ModOptions:getInstance(options, "Amputation2", "The Only Cure but better")
|
local settings = ModOptions:getInstance(options, "Amputation2", "The Only Cure but better")
|
||||||
|
ModOptions:loadFile()
|
||||||
|
|
||||||
settings.names = {
|
settings.names = {
|
||||||
roll_up_sleeves_on_amputated_limbs = "Roll up jacket sleeves for amputated limbs",
|
roll_up_sleeves_on_amputated_limbs = "Roll up jacket sleeves for amputated limbs",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ModOptions:loadFile()
|
|
||||||
|
|
||||||
local roll_up_sleeves = settings:getData("roll_up_sleeves_on_amputated_limbs")
|
local roll_up_sleeves = settings:getData("roll_up_sleeves_on_amputated_limbs")
|
||||||
|
|
||||||
|
if roll_up_sleeves == nil then
|
||||||
|
print("TOC: SOmething is very wrong with mod options")
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
-- Run it now since we're in the menu, presumably
|
-- Run it now since we're in the menu, presumably
|
||||||
TocSetSleeves(options.roll_up_sleeves_on_amputated_limbs)
|
TocSetSleeves(options.roll_up_sleeves_on_amputated_limbs)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user