Expose setting clipboard text to mod code.

This commit is contained in:
Paul Chote
2016-10-02 12:59:41 +01:00
committed by abcdefg30
parent 8347d0afd0
commit 9a6fdfa180

View File

@@ -882,5 +882,10 @@ namespace OpenRA
{
return OrderManager != null && OrderManager.World == world && !world.Disposing;
}
public static bool SetClipboardText(string text)
{
return Renderer.Window.SetClipboardText(text);
}
}
}