From 4e6146898c5ae5110b459895962da13c05156692 Mon Sep 17 00:00:00 2001 From: Timothy Teakettle <59849408+timothyteakettle@users.noreply.github.com> Date: Mon, 26 Oct 2020 20:27:58 +0000 Subject: [PATCH] fixes/config edits --- code/controllers/configuration/entries/game_options.dm | 6 +++--- code/modules/client/preferences.dm | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/code/controllers/configuration/entries/game_options.dm b/code/controllers/configuration/entries/game_options.dm index e79862c80c..4d2caf92a9 100644 --- a/code/controllers/configuration/entries/game_options.dm +++ b/code/controllers/configuration/entries/game_options.dm @@ -509,13 +509,13 @@ //Body size configs, the feature will be disabled if both min and max have the same value. /datum/config_entry/number/body_size_min - config_entry_value = RESIZE_DEFAULT_SIZE + config_entry_value = 0.9 min_val = 0.1 //to avoid issues with zeros and negative values. max_val = RESIZE_DEFAULT_SIZE integer = FALSE /datum/config_entry/number/body_size_max - config_entry_value = RESIZE_DEFAULT_SIZE + config_entry_value = 1.25 min_val = RESIZE_DEFAULT_SIZE integer = FALSE @@ -523,7 +523,7 @@ //to compensate for their smaller hitbox. //To disable, just make sure the value is lower than 'body_size_min' /datum/config_entry/number/threshold_body_size_penalty - config_entry_value = RESIZE_DEFAULT_SIZE * 0.85 + config_entry_value = RESIZE_DEFAULT_SIZE min_val = 0 max_val = RESIZE_DEFAULT_SIZE integer = FALSE diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 7c9708a249..c2c4120925 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -2693,8 +2693,8 @@ GLOBAL_LIST_EMPTY(preferences_datums) character.dna.custom_species = character.custom_species var/old_size = character.dna.features["body_size"] - if(isdwarf(character) - character.dna.features["body_size"] = 1 + if(isdwarf(character)) + character.dna.features["body_size"] = RESIZE_DEFAULT_SIZE old_size = 1 if((parent && parent.can_have_part("meat_type")) || pref_species.mutant_bodyparts["meat_type"])