mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 16:13:19 +01:00
Runtime Fix for:
The following runtime has occured 12 time(s). runtime error: Cannot read null.buckled proc name: manual unbuckle (/obj/structure/stool/bed/nest/manual_unbuckle) source file: nest.dm,18 usr: null src: the alien nest (/obj/structure/stool/bed/nest) Forgot to check if user still existed after a spawn() delay. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4568 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
"<span class='warning'>You struggle to break free from the gelatinous resin...</span>",\
|
||||
"<span class='notice'>You hear squelching...</span>")
|
||||
spawn(1200)
|
||||
if(buckled_mob && user.buckled == src)
|
||||
if(user && buckled_mob && user.buckled == src)
|
||||
buckled_mob.pixel_y = 0
|
||||
unbuckle()
|
||||
src.add_fingerprint(user)
|
||||
|
||||
Reference in New Issue
Block a user