no buckles in sleepers (#16516)

This commit is contained in:
Nadyr
2024-10-26 13:29:28 +02:00
committed by GitHub
parent d0b0dd9a46
commit 1375d4c23b
+4
View File
@@ -459,6 +459,8 @@
return
if(stat & (BROKEN|NOPOWER))
return
if(M.buckled)
return
if(occupant)
to_chat(user, span_warning("\The [src] is already occupied."))
return
@@ -471,6 +473,8 @@
visible_message("\The [user] starts putting [M] into \the [src].")
if(do_after(user, 20))
if(M.buckled)
return
if(occupant)
to_chat(user, span_warning("\The [src] is already occupied."))
return