mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-31 08:37:14 +01:00
Fix a few hard-dels
This commit is contained in:
@@ -185,7 +185,7 @@
|
||||
anchored = FALSE
|
||||
buildstacktype = /obj/item/stack/sheet/mineral/wood
|
||||
buildstackamount = 10
|
||||
var/mob/living/owner = null
|
||||
var/owned = FALSE
|
||||
|
||||
/obj/structure/bed/dogbed/ian
|
||||
desc = "Ian's bed! Looks comfy."
|
||||
@@ -208,9 +208,12 @@
|
||||
anchored = TRUE
|
||||
|
||||
/obj/structure/bed/dogbed/proc/update_owner(mob/living/M)
|
||||
owner = M
|
||||
if(owned || type != /obj/structure/bed/dogbed) //Only marked beds work
|
||||
return FALSE //Failed
|
||||
owned = TRUE
|
||||
name = "[M]'s bed"
|
||||
desc = "[M]'s bed! Looks comfy."
|
||||
return TRUE //Let any callers know that this bed is ours now
|
||||
|
||||
/obj/structure/bed/dogbed/buckle_mob(mob/living/M, force, check_loc)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user