Fix varnames and spelling in physgun and phystool (#2361)

## About The Pull Request

I was recently bugfixing these and discovered how bad the english on
these is. How this passed review is beyond me.

## Why It's Good For The Game

Spellcheck good

## Proof Of Testing

Varname changes, should be fine

## Changelog

N/A
This commit is contained in:
Waterpig
2024-11-07 23:05:59 +00:00
committed by GitHub
parent 3be6f55960
commit 12f61ac2ae
2 changed files with 56 additions and 56 deletions
@@ -18,17 +18,17 @@
resistance_flags = INDESTRUCTIBLE
//The mode that is chosen at the moment.
/// The mode that is chosen at the moment
var/datum/phystool_mode/selected_mode
//Available modes.
var/list/datum/phystool_mode/avaible_modes = list(
/// Available modes
var/list/datum/phystool_mode/available_modes = list(
/datum/phystool_mode/build_mode,
/datum/phystool_mode/spawn_mode,
/datum/phystool_mode/remove_mode,
/datum/phystool_mode/color_mode,
/datum/phystool_mode/size_mode,
)
//The datum of the beam.
/// The datum of the beam
var/datum/beam/work_beam
/obj/item/phystool/examine(mob/user)
@@ -43,7 +43,7 @@
. = ..()
if(selected_mode)
qdel(selected_mode)
var/datum/phystool_mode/mode_to_select = tgui_input_list(user, "Select work mode:", "Phystool mode", avaible_modes)
var/datum/phystool_mode/mode_to_select = tgui_input_list(user, "Select work mode:", "Phystool mode", available_modes)
if(!mode_to_select)
return
selected_mode = new mode_to_select