Minor bugfix of addcom command, some other cleanup.
This commit is contained in:
parent
5bc1db70ed
commit
1314629a06
4 changed files with 17 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue