change decorator name

This commit is contained in:
2025-03-11 09:14:07 +01:00
parent 34a691fa68
commit 99dc07cd64
3 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ class Mode
public static function setVideoMode(width:Int, height:Int, fs:Int = null){
getWindow().resize(width,height);
}
@:command("mat_setvideomode")
@:ConCmd("mat_setvideomode")
public static function cCmdMatSetVideoMode(args:Array<String>){
Mode.setVideoMode(Std.parseInt(args[0]), Std.parseInt(args[1]), Std.parseInt(args[2]));
}