- Fixes issue 812.

- Adds logging for throwing. Pulling and grabbing does not need to be logged in detail, since kill-intent grabbing is logged already.
- Something broke throwing, which made it runtime. This also fixes that.
- Fixes the problem of applying wires to a stack of glass, which only contains one piece of glass using wires, deleting the glass piece and not spawning a light tile. A call of the glass' use(1) was misplaced, which had the chance of deleting the object, thus stopping the proc, before it spawned the light tile.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4478 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-08-17 16:19:04 +00:00
parent f9d80e12ce
commit 3be7d6d8ef
3 changed files with 21 additions and 14 deletions
+3 -3
View File
@@ -21,17 +21,17 @@
if(affecting)
if(state >= 2)
var/grabee = affecting
spawn(0)
spawn(1)
del(src)
return grabee
else
spawn(0)
spawn(1)
del(src)
return null
else if(structure)
var/grabee = structure
spawn(0)
spawn(1)
del(src)
return grabee