change decorator name
This commit is contained in:
@@ -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]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user