mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 23:23:28 +01:00
Fixes flying/jaunting/floating mobs breaking glass tables. (#16583)
* makes flying/jaunting things not smash tables * Update code/game/objects/structures/tables_racks.dm Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com> * Update code/game/objects/structures/tables_racks.dm Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com>
This commit is contained in:
@@ -408,6 +408,10 @@
|
||||
return
|
||||
if(!isliving(AM))
|
||||
return
|
||||
var/mob/living/L = AM
|
||||
if(L.incorporeal_move || L.flying || L.floating)
|
||||
return
|
||||
|
||||
// Don't break if they're just flying past
|
||||
if(AM.throwing)
|
||||
addtimer(CALLBACK(src, .proc/throw_check, AM), 5)
|
||||
|
||||
Reference in New Issue
Block a user