added mod:is_suspended()

This commit is contained in:
Azumgi 2018-01-23 00:25:08 +03:00
parent 1cbf17a700
commit f230c750e1

View file

@ -1638,6 +1638,14 @@ VMFMod.create_options = function (self, widgets_definition, is_mod_toggable, rea
end end
VMFMod.is_suspended = function (self)
local mod_suspend_state_list = vmf:get("mod_suspend_state_list")
return mod_suspend_state_list[self._name]
end
-- table.insert(t, new, table.remove(t,old)) -- table.insert(t, new, table.remove(t,old))
-- mod:create_options(options_widgets, true, "Readable Mod Name", "Mod description") -- mod:create_options(options_widgets, true, "Readable Mod Name", "Mod description")