Fix issues discovered via TypeMaker (#87596)

## About The Pull Request
Fixes issues with var typing and proc arguments, discovered using
OpenDream's WIP TypeMaker feature (using improvements I haven't PR'd
upstream yet).

## Why It's Good For The Game
Codebase maintenance.
This commit is contained in:
Penelope Haze
2024-11-19 15:24:52 -05:00
committed by GitHub
parent 3c8fa5630f
commit b67a0901f2
93 changed files with 336 additions and 338 deletions
@@ -11,8 +11,8 @@
/// The input port
var/datum/port/input/target_input
var/datum/port/input/image_pixel_x = 0
var/datum/port/input/image_pixel_y = 0
var/datum/port/input/image_pixel_x
var/datum/port/input/image_pixel_y
var/max_range = 7
@@ -45,7 +45,7 @@
output_value.set_datatype(expected_output_type.value)
/obj/item/circuit_component/get_variable/input_received(datum/port/input/port)
var/atom/object = entity?.value
var/datum/object = entity?.value
if(getvar_options.value == "Global")
object = GLOB