From 0ae89330e74acce98e3573af158cf0c56e4dbd0c Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 14 Jun 2022 00:17:14 -0500 Subject: [PATCH] Allows mappers to spawn tilted vending machines --- code/modules/vending/_vending.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/vending/_vending.dm b/code/modules/vending/_vending.dm index dab16589aeef..82b77793eeda 100644 --- a/code/modules/vending/_vending.dm +++ b/code/modules/vending/_vending.dm @@ -171,6 +171,8 @@ IF YOU MODIFY THE PRODUCTS LIST OF A MACHINE, MAKE SURE TO UPDATE ITS RESUPPLY C * * TRUE - all other cases */ /obj/machinery/vending/Initialize(mapload) + if(tilted) + src.tilt() // We don't need to set tilted to false before tilt because it will handle it. var/build_inv = FALSE if(!refill_canister) circuit = null