diff --git a/project/Terkoiz.Freecam/FreecamController.cs b/project/Terkoiz.Freecam/FreecamController.cs index 12fe66c..cec1afb 100644 --- a/project/Terkoiz.Freecam/FreecamController.cs +++ b/project/Terkoiz.Freecam/FreecamController.cs @@ -64,9 +64,9 @@ namespace Terkoiz.Freecam MovePlayerToCamera(); } - if (_fallDamageToggle != FreecamPlugin.FallDamageToggle.Value) + if (_fallDamageToggle != FreecamPlugin.DisableFallDamage.Value) { - _fallDamageToggle = ToggleFallDamage(FreecamPlugin.FallDamageToggle.Value); + _fallDamageToggle = ToggleFallDamage(FreecamPlugin.DisableFallDamage.Value); } } diff --git a/project/Terkoiz.Freecam/FreecamPlugin.cs b/project/Terkoiz.Freecam/FreecamPlugin.cs index 4bfa227..7d32a19 100644 --- a/project/Terkoiz.Freecam/FreecamPlugin.cs +++ b/project/Terkoiz.Freecam/FreecamPlugin.cs @@ -18,7 +18,6 @@ namespace Terkoiz.Freecam internal static ConfigEntry TeleportToCamera; internal static ConfigEntry ToggleUi; - // Camera settings config entries private const string CameraSettingsSectionName = "CameraSettings"; internal static ConfigEntry CameraMoveSpeed; @@ -27,19 +26,20 @@ namespace Terkoiz.Freecam internal static ConfigEntry CameraZoomSpeed; internal static ConfigEntry CameraFastZoomSpeed; + // General toggles private const string TogglesSectionName = "Toggles"; internal static ConfigEntry CameraHeightMovement; internal static ConfigEntry CameraMousewheelZoom; internal static ConfigEntry CameraRememberLastPosition; - public static ConfigEntry FallDamageToggle; + internal static ConfigEntry DisableFallDamage; [UsedImplicitly] internal void Start() { - new FreecamPatch().Enable(); - Logger = base.Logger; InitConfiguration(); + + new FreecamPatch().Enable(); } private void InitConfiguration() @@ -113,7 +113,7 @@ namespace Terkoiz.Freecam TogglesSectionName, "CameraMousewheelZoom", true, - "Enables or disables camera movement on mousewheel scroll. Just in case you find it annoying."); + "Enables or disables camera movement on mousewheel scroll. Just in case you find it annoying and want that disabled."); CameraRememberLastPosition = Config.Bind( TogglesSectionName, @@ -121,11 +121,11 @@ namespace Terkoiz.Freecam false, "If enabled, returning to Freecam mode will put the camera to it's last position which was saved when exiting Freecam mode."); - FallDamageToggle = Config.Bind( + DisableFallDamage = Config.Bind( TogglesSectionName, - "FallHeightToggle", + "DisableFallDamage", true, - "If enabled, will disable all fall damage for the player."); + "If enabled, will prevent fall damage for the player. Highly recommended to leave this enabled if using TeleportToCamera."); } } }