Remove UI Scaling remains from VMF
This commit is contained in:
parent
2a33438a26
commit
5a3927bbed
2 changed files with 0 additions and 20 deletions
|
@ -1,19 +0,0 @@
|
||||||
local vmf = get_mod("VMF")
|
|
||||||
|
|
||||||
local _ui_scaling_enabled
|
|
||||||
|
|
||||||
-- ####################################################################################################################
|
|
||||||
-- ##### VMF internal functions and variables #########################################################################
|
|
||||||
-- ####################################################################################################################
|
|
||||||
|
|
||||||
vmf.check_if_ui_scaling_was_used_before = function()
|
|
||||||
_ui_scaling_enabled = _ui_scaling_enabled or vmf:get("ui_scaling")
|
|
||||||
if _ui_scaling_enabled then
|
|
||||||
vmf:set("ui_scaling", nil)
|
|
||||||
if UIResolutionScale() > 1 then
|
|
||||||
vmf:warning("UI SCALING WAS STRIPPED FROM THE VMF AND HAS BEEN RELEASED AS A SEPARATE MOD. " ..
|
|
||||||
"YOU CAN FIND THE DOWNLOAD LINK IN THE VMF WORKSHOP DESCRIPTION. " ..
|
|
||||||
"This message will be shown to you only during this game session.")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -33,7 +33,6 @@ function vmf_mod_object:init()
|
||||||
dofile("scripts/mods/vmf/modules/core/commands")
|
dofile("scripts/mods/vmf/modules/core/commands")
|
||||||
dofile("scripts/mods/vmf/modules/gui/custom_textures")
|
dofile("scripts/mods/vmf/modules/gui/custom_textures")
|
||||||
dofile("scripts/mods/vmf/modules/gui/custom_views")
|
dofile("scripts/mods/vmf/modules/gui/custom_views")
|
||||||
dofile("scripts/mods/vmf/modules/gui/ui_scaling")
|
|
||||||
dofile("scripts/mods/vmf/modules/ui/chat/chat_actions")
|
dofile("scripts/mods/vmf/modules/ui/chat/chat_actions")
|
||||||
dofile("scripts/mods/vmf/modules/ui/options/mod_options")
|
dofile("scripts/mods/vmf/modules/ui/options/mod_options")
|
||||||
dofile("scripts/mods/vmf/modules/vmf_options")
|
dofile("scripts/mods/vmf/modules/vmf_options")
|
||||||
|
|
Loading…
Add table
Reference in a new issue