Minor bugfix of addcom command, some other cleanup.

This commit is contained in:
Griatch 2009-05-02 15:55:47 +00:00
parent 5bc1db70ed
commit 1314629a06
4 changed files with 17 additions and 20 deletions

View file

@ -64,11 +64,6 @@ class RedButton(BasicObject):
"""
This function is called when object is created. Use this
preferably over __init__.
In this case all we do is add the commandtable
to the object's own command_table variable; this makes
the commands we've added to COMMAND_TABLE available to
the user whenever the object is around.
"""
#get stored object related to this class
obj = self.scripted_obj