mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-12-14 18:15:44 +00:00
Update Machine.cs
This commit is contained in:
parent
5045fa757c
commit
1d484f17ad
1 changed files with 2 additions and 0 deletions
|
|
@ -103,6 +103,8 @@ public class Machine : IPlugin
|
|||
if (!L.IsNoneOrNil(1))
|
||||
{
|
||||
var newTitle = L.CheckString(1);
|
||||
|
||||
L.ArgumentCheck(!string.IsNullOrEmpty(newTitle), 1, "string must not be empty");
|
||||
|
||||
Capy64.Instance.Window.Title = newTitle;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue