Skip to content

Commit 0b26c0c

Browse files
committed
Fixed issue #61
1 parent 8798d8d commit 0b26c0c

File tree

1 file changed

+1
-1
lines changed
  • addons/source-python/packages/source-python/entities

1 file changed

+1
-1
lines changed

addons/source-python/packages/source-python/entities/entity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def get_model(self):
300300

301301
def set_model(self, model):
302302
"""Set the entity's model to the given model."""
303-
self.edict.set_model_index(model.index)
303+
self.set_model_index(model.index)
304304
self.set_key_value_string('model', model.path)
305305

306306
model = property(

0 commit comments

Comments
 (0)