mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-26 07:15:48 +02:00
Fixed @entity.setscale for entities with model
This commit is contained in:
parent
52696d0fa3
commit
72bdc2976a
@ -79,6 +79,9 @@
|
|||||||
sng(ScaleList(3).Replace("~", CStr(ent.Position.Z)).Replace(".", GameController.DecSeparator)))
|
sng(ScaleList(3).Replace("~", CStr(ent.Position.Z)).Replace(".", GameController.DecSeparator)))
|
||||||
|
|
||||||
ent.Scale = newScale
|
ent.Scale = newScale
|
||||||
|
If ent.ModelPath <> "" Then
|
||||||
|
ent.Scale *= ModelManager.MODELSCALE
|
||||||
|
End If
|
||||||
ent.CreatedWorld = False
|
ent.CreatedWorld = False
|
||||||
Case "remove"
|
Case "remove"
|
||||||
ent.CanBeRemoved = True
|
ent.CanBeRemoved = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user