mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user