mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
[MIRROR] Fixes incorrect Initialize() arguments (#1029)
* Fixes incorrect Initialize() arguments (#54013) * Fixes incorrect Initialize() arguments Co-authored-by: spookydonut <github@spooksoftware.com>
This commit is contained in:
@@ -213,7 +213,7 @@
|
||||
var/datum/bank_account/buyer_account
|
||||
var/privacy_lock = TRUE
|
||||
|
||||
/obj/item/storage/lockbox/order/Initialize(datum/bank_account/_buyer_account)
|
||||
/obj/item/storage/lockbox/order/Initialize(mapload, datum/bank_account/_buyer_account)
|
||||
. = ..()
|
||||
buyer_account = _buyer_account
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
delays = list(POD_TRANSIT = 20, POD_FALLING = 4, POD_OPENING = 30, POD_LEAVING = 30)
|
||||
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
|
||||
|
||||
/obj/structure/closet/supplypod/Initialize(var/customStyle = FALSE)
|
||||
/obj/structure/closet/supplypod/Initialize(mapload, customStyle = FALSE)
|
||||
. = ..()
|
||||
if (!loc)
|
||||
var/shippingLane = GLOB.areas_by_type[/area/centcom/supplypod/supplypod_temp_holding] //temporary holder for supplypods mid-transit
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
resistance_flags = FLAMMABLE
|
||||
var/obj/item/seeds/seed = null // type path, gets converted to item on New(). It's safe to assume it's always a seed item.
|
||||
|
||||
/obj/item/grown/Initialize(newloc, obj/item/seeds/new_seed)
|
||||
/obj/item/grown/Initialize(mapload, newloc, obj/item/seeds/new_seed)
|
||||
. = ..()
|
||||
create_reagents(100)
|
||||
|
||||
|
||||
@@ -191,7 +191,7 @@
|
||||
control.gen += sgen
|
||||
|
||||
//Bit of a hack but this whole type is a hack
|
||||
/obj/machinery/power/solar/fake/Initialize(turf/loc, obj/item/solar_assembly/S)
|
||||
/obj/machinery/power/solar/fake/Initialize(mapload, turf/loc, obj/item/solar_assembly/S)
|
||||
. = ..()
|
||||
UnregisterSignal(SSsun, COMSIG_SUN_MOVED)
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
return
|
||||
density = anchorvalue ? initial(pipe_type.density) : FALSE
|
||||
|
||||
/obj/structure/disposalconstruct/Initialize(loc, _pipe_type, _dir = SOUTH, flip = FALSE, obj/make_from)
|
||||
/obj/structure/disposalconstruct/Initialize(mapload, loc, _pipe_type, _dir = SOUTH, flip = FALSE, obj/make_from)
|
||||
. = ..()
|
||||
if(make_from)
|
||||
pipe_type = make_from.type
|
||||
|
||||
Reference in New Issue
Block a user