mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
Fixes janicart and mop bucket overlays not updating properly (#20232)
* Fixes janicart and mop bucket overlays not updating properly * Sirryan review * ops
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
I.forceMove(src)
|
||||
updateUsrDialog()
|
||||
to_chat(user, "<span class='notice'>You put [I] into [src].</span>")
|
||||
update_icon(UPDATE_OVERLAYS)
|
||||
return
|
||||
|
||||
/obj/structure/janitorialcart/on_reagent_change()
|
||||
@@ -64,9 +65,8 @@
|
||||
to_chat(user, fail_msg)
|
||||
else if(istype(I, /obj/item/reagent_containers/spray/cleaner))
|
||||
if(!myspray)
|
||||
myspray = I
|
||||
put_in_cart(I, user)
|
||||
myspray=I
|
||||
update_icon(UPDATE_OVERLAYS)
|
||||
else
|
||||
to_chat(user, fail_msg)
|
||||
else if(istype(I, /obj/item/lightreplacer))
|
||||
@@ -77,9 +77,8 @@
|
||||
to_chat(user, fail_msg)
|
||||
else if(istype(I, /obj/item/caution))
|
||||
if(signs < max_signs)
|
||||
put_in_cart(I, user)
|
||||
signs++
|
||||
update_icon(UPDATE_OVERLAYS)
|
||||
put_in_cart(I, user)
|
||||
else
|
||||
to_chat(user, "<span class='notice'>[src] can't hold any more signs.</span>")
|
||||
else if(istype(I, /obj/item/crowbar))
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
user.drop_item()
|
||||
I.forceMove(src)
|
||||
to_chat(user, "<span class='notice'>You put [I] into [src].</span>")
|
||||
update_icon(UPDATE_OVERLAYS)
|
||||
return
|
||||
|
||||
/obj/item/mop/proc/mopbucket_insert(mob/user, obj/structure/mopbucket/J)
|
||||
|
||||
Reference in New Issue
Block a user