mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
no buckles in sleepers (#16516)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user