Merge pull request #1553 from VOREStation/sundry-runtimes2

Sundry runtimes 2
This commit is contained in:
Arokha Sieyes
2017-05-25 16:39:39 -04:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,7 @@
if(istype(loc, /turf/simulated/open))
var/turf/simulated/open/O = loc
spawn(1)
if(O) // If we built a new floor with the lattice, the open turf won't exist anymore.
if(istype(O)) // If we built a new floor with the lattice, the open turf won't exist anymore.
O.update() // This lattice may be supporting things on top of it. If it's being deleted, they need to fall down.
..()

View File

@@ -184,7 +184,7 @@
// Verb for saving vore preferences to save file
//
/mob/living/proc/save_vore_prefs()
if(!(client || client.prefs_vr))
if(!client || !client.prefs_vr)
return 0
if(!copy_to_prefs_vr())
return 0
@@ -194,7 +194,7 @@
return 1
/mob/living/proc/apply_vore_prefs()
if(!(client || client.prefs_vr))
if(!client || !client.prefs_vr)
return 0
if(!client.prefs_vr.load_vore())
return 0