mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
That doesn't seem like a good idea (#18605)
This commit is contained in:
@@ -152,10 +152,12 @@
|
||||
/mob/living/simple_animal/bot/mulebot/update_overlays()
|
||||
. = ..()
|
||||
if(load && !ismob(load))//buckling handles the mob offsets
|
||||
load.pixel_y = initial(load.pixel_y) + 9
|
||||
var/image/load_overlay = image(icon = load.icon, icon_state = load.icon_state)
|
||||
load_overlay.pixel_y = initial(load.pixel_y) + 9
|
||||
if(load.layer < layer)
|
||||
load.layer = layer + 0.1
|
||||
. += load
|
||||
load_overlay.layer = layer + 0.1
|
||||
load_overlay.overlays = load.overlays
|
||||
. += load_overlay
|
||||
|
||||
/mob/living/simple_animal/bot/mulebot/ex_act(severity)
|
||||
unload(0)
|
||||
@@ -419,8 +421,6 @@
|
||||
|
||||
mode = BOT_IDLE
|
||||
|
||||
overlays.Cut()
|
||||
|
||||
unbuckle_all_mobs()
|
||||
|
||||
if(load)
|
||||
@@ -435,6 +435,8 @@
|
||||
step(load, dirn)
|
||||
load = null
|
||||
|
||||
update_icon(UPDATE_OVERLAYS)
|
||||
|
||||
// in case non-load items end up in contents, dump every else too
|
||||
// this seems to happen sometimes due to race conditions
|
||||
// with items dropping as mobs are loaded
|
||||
|
||||
Reference in New Issue
Block a user