File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1279,6 +1279,7 @@ Local<Value> EntityClass::setScale(const Arguments& args) {
1279
1279
if (!entity) return Local<Value>();
1280
1280
1281
1281
entity->getEntityData ().set ((ushort)ActorDataIDs::Scale, args[0 ].asNumber ().toFloat ());
1282
+ entity->_sendDirtyActorData ();
1282
1283
return Boolean::newBoolean (true );
1283
1284
}
1284
1285
CATCH (" Fail in setScale!" )
Original file line number Diff line number Diff line change @@ -1762,6 +1762,7 @@ Local<Value> PlayerClass::setScale(const Arguments& args) {
1762
1762
if (!player) return Local<Value>();
1763
1763
1764
1764
player->getEntityData ().set ((ushort)ActorDataIDs::Scale, args[0 ].asNumber ().toFloat ());
1765
+ player->_sendDirtyActorData ();
1765
1766
return Boolean::newBoolean (true );
1766
1767
}
1767
1768
CATCH (" Fail in setScale!" );
You can’t perform that action at this time.
0 commit comments