mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Fixes a runtime if there's no mob when a dna injector is injected by adding a sanity check.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5432 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -53,7 +53,8 @@
|
||||
uses--
|
||||
|
||||
spawn(0)//this prevents the collapse of space-time continuum
|
||||
user.drop_from_inventory(src)
|
||||
if (user)
|
||||
user.drop_from_inventory(src)
|
||||
del(src)
|
||||
return uses
|
||||
|
||||
|
||||
Reference in New Issue
Block a user