Skip to content

Datum Initialization Hotfix

Rob Nelson requested to merge pull/3550/panic into Bleeding-Edge

Created by: clusterfack

Another datum pooling initialization hotfix. Initial does not actually create lists causing type mismatches after being pooled. See: http://www.byond.com/forum/?post=76850, reported to byond 5 years ago but never fixed

Causes the following runtimes: runtime error: type mismatch: += the digital switching valve (/obj/machinery/atmospherics/trinary/tvalve/digital/mirrored) proc name: build network (/obj/machinery/atmospherics/trinary/build_network) source file: trinary_base.dm,128 usr: null src: the digital switching valve (/obj/machinery/atmospherics/trinary/tvalve/digital/mirrored) call stack: the digital switching valve (/obj/machinery/atmospherics/trinary/tvalve/digital/mirrored): build network() the digital switching valve (/obj/machinery/atmospherics/trinary/tvalve/digital/mirrored): go straight() the digital switching valve (/obj/machinery/atmospherics/trinary/tvalve/digital/mirrored): initialize() the digital switching valve (/obj/machinery/atmospherics/trinary/tvalve/digital/mirrored): initialize() /datum/controller/game_control... (/datum/controller/game_controller): setup objects() /datum/controller/game_control... (/datum/controller/game_controller): setup() : New()

runtime error: type mismatch: |= /list (/list) proc name: merge (/datum/pipe_network/proc/merge) source file: datum_pipe_network.dm,61 usr: null src: /datum/pipe_network (/datum/pipe_network) call stack: /datum/pipe_network (/datum/pipe_network): merge(/datum/pipe_network (/datum/pipe_network)) the digital switching valve (/obj/machinery/atmospherics/trinary/tvalve/digital/mirrored): go straight() the digital switching valve (/obj/machinery/atmospherics/trinary/tvalve/digital/mirrored): initialize() the digital switching valve (/obj/machinery/atmospherics/trinary/tvalve/digital/mirrored): initialize() /datum/controller/game_control... (/datum/controller/game_controller): setup objects() /datum/controller/game_control... (/datum/controller/game_controller): setup() : New()

Merge request reports