Fixed some runtime errors

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1155 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2011-03-04 00:22:33 +00:00
parent 3c071bbec6
commit 9e1d7cfb8e
6 changed files with 39 additions and 31 deletions
@@ -11,7 +11,8 @@
src.real_name += " [pick(rand(1, 999))]"
src.name = src.real_name
spawn (4)
src.connected_ai = activeais()
if (src.client)
src.connected_ai = activeais()
if (src.connected_ai)
src.connected_ai.connected_robots += src
// src.laws = src.connected_ai.laws_object //The borg inherits its AI's laws