[Mod Options] Update for new 'register_view'
This commit is contained in:
parent
71f3bc55af
commit
f40685af6c
2 changed files with 3 additions and 19 deletions
|
@ -116,7 +116,7 @@ end
|
|||
|
||||
|
||||
vmf.initialize_vmf_options_view = function ()
|
||||
vmf:register_view("scripts/mods/vmf/modules/ui/options/vmf_options_view")
|
||||
vmf:dofile("scripts/mods/vmf/modules/ui/options/vmf_options_view")
|
||||
_button_injection_data.mod_options_button_disabled = false
|
||||
end
|
||||
|
||||
|
|
|
@ -4261,23 +4261,7 @@ end
|
|||
vmf.load_vmf_options_view_settings()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return {
|
||||
vmf:register_view({
|
||||
view_name = "vmf_options_view",
|
||||
view_settings = {
|
||||
init_view_function = function (ingame_ui_context)
|
||||
|
@ -4298,4 +4282,4 @@ return {
|
|||
self.menu_active = true
|
||||
end
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue