1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-05 23:10:30 +00:00

Fix term.getTextScale() not using the main monitor

This commit is contained in:
SquidDev 2017-11-19 13:48:29 +00:00
parent 56b1cb4521
commit aa447ec101

View File

@ -290,7 +290,8 @@ public class TileMonitor extends TilePeripheralBase
public double getTextScale() public double getTextScale()
{ {
return m_textScale * 0.5; TileMonitor origin = getOrigin();
return (origin == null ? m_textScale : origin.m_textScale) * 0.5;
} }
private void rebuildTerminal() private void rebuildTerminal()