From 3c08c52cff4afc826f26615a9a6eace03097d5d8 Mon Sep 17 00:00:00 2001 From: PKPenguin321 Date: Tue, 7 Jun 2016 22:59:20 -0700 Subject: [PATCH] fixes broken var Buckled mobs -> buckled mob --- code/modules/vehicles/scooter.dm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/code/modules/vehicles/scooter.dm b/code/modules/vehicles/scooter.dm index 9fce1acd3dd..7236ad3044d 100644 --- a/code/modules/vehicles/scooter.dm +++ b/code/modules/vehicles/scooter.dm @@ -24,20 +24,20 @@ if(buckled_mobs.len) for(var/m in buckled_mobs) var/mob/living/buckled_mob = m - if(buckled_mobs.get_num_legs() <= 0) - switch(buckled_mobs.dir) + if(buckled_mob.get_num_legs() <= 0) + switch(buckled_mob.dir) if(NORTH) - buckled_mobs.pixel_x = 0 - buckled_mobs.pixel_y = -4 + buckled_mob.pixel_x = 0 + buckled_mob.pixel_y = -4 if(EAST) - buckled_mobs.pixel_x = -2 - buckled_mobs.pixel_y = -4 + buckled_mob.pixel_x = -2 + buckled_mob.pixel_y = -4 if(SOUTH) - buckled_mobs.pixel_x = 0 - buckled_mobs.pixel_y = -4 + buckled_mob.pixel_x = 0 + buckled_mob.pixel_y = -4 if(WEST) - buckled_mobs.pixel_x = 2 - buckled_mobs.pixel_y = -4 + buckled_mob.pixel_x = 2 + buckled_mob.pixel_y = -4 else switch(buckled_mob.dir) if(NORTH) @@ -136,4 +136,4 @@ user << "You add the rods to [src], creating handlebars." C.use(2) new/obj/vehicle/scooter(get_turf(src)) - qdel(src) \ No newline at end of file + qdel(src)