From 6e95ad1a07c16bd8f26e14b2e79c35146fb88a9e Mon Sep 17 00:00:00 2001 From: Moose <124457076+AntlerForce@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:27:19 -0700 Subject: [PATCH] Make minimum bonus 0 in all cases --- LuaMenu/widgets/api_user_handler.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/LuaMenu/widgets/api_user_handler.lua b/LuaMenu/widgets/api_user_handler.lua index fd0e27159..77940441d 100644 --- a/LuaMenu/widgets/api_user_handler.lua +++ b/LuaMenu/widgets/api_user_handler.lua @@ -1085,13 +1085,9 @@ local function GetUserControls(userName, opts) if battleStatus.isSpectator then return end - local minbonus = 0 - if isSingleplayer then - minbonus = -99 - end WG.IntegerSelectorWindow.CreateIntegerSelectorWindow({ defaultValue = 0, - minValue = minbonus, + minValue = 0, maxValue = 100, caption = "Add Bonus", labelCaption = "Give "..userName.." an additional % resource bonus. 100% means that player produces double the normal resource amount. 0% is regular resource production. In single player games, a negative bonus will result in that player getting X% less resources",