Browse Source

rename method

Bastien Sevajol 9 years ago
parent
commit
8d1f449b0b

+ 1 - 1
intelligine/synergy/event/transport/TakeableAction.py View File

@@ -23,7 +23,7 @@ class TakeableAction(Action):
23 23
         if obj_transportable.is_carried():
24 24
             raise ActionAborted()
25 25
         try:
26
-            obj_carried = obj_transportable.get_carry()
26
+            obj_carried = obj_transportable.get_what_carry()
27 27
             obj_carried.set_carried_by(obj)
28 28
             obj.carry(obj_carried)
29 29
             context.metas.value.set(CANT_PUT_STILL, obj.get_id(), 5)

+ 1 - 1
intelligine/synergy/object/Transportable.py View File

@@ -23,5 +23,5 @@ class Transportable(XyzSynergyObject):
23 23
             return True
24 24
         return False
25 25
 
26
-    def get_carry(self):
26
+    def get_what_carry(self):
27 27
         return self