mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-26 23:50:52 +01:00
Update infostand handler
This commit is contained in:
parent
ca7ccfa55a
commit
587e8c02ca
@ -249,13 +249,7 @@ export class RoomWidgetInfostandHandler extends RoomWidgetHandler
|
||||
roomObjectImage = GetRoomEngine().getRoomObjectImage(roomId, message.id, message.category, new Vector3d(180), 1, null);
|
||||
}
|
||||
|
||||
if(roomObjectImage && roomObjectImage.data)
|
||||
{
|
||||
const image = Nitro.instance.renderer.extract.image(roomObjectImage.data);
|
||||
|
||||
if(image) event.image = image;
|
||||
}
|
||||
|
||||
event.image = roomObjectImage.getImage();
|
||||
event.isWallItem = (message.category === RoomObjectCategory.WALL);
|
||||
event.isRoomOwner = this.roomSession.isRoomOwner;
|
||||
event.roomControllerLevel = this.roomSession.controllerLevel;
|
||||
|
Loading…
Reference in New Issue
Block a user