We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8798d8d commit 0b26c0cCopy full SHA for 0b26c0c
addons/source-python/packages/source-python/entities/entity.py
@@ -300,7 +300,7 @@ def get_model(self):
300
301
def set_model(self, model):
302
"""Set the entity's model to the given model."""
303
- self.edict.set_model_index(model.index)
+ self.set_model_index(model.index)
304
self.set_key_value_string('model', model.path)
305
306
model = property(
0 commit comments