mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-16 17:11:28 +00:00
Fix unknown thing types crashing because of unknown stringarg info
This commit is contained in:
parent
097ad4107c
commit
34cf407330
1 changed files with 2 additions and 2 deletions
|
@ -145,8 +145,8 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
}
|
||||
|
||||
// Arguments
|
||||
ArgumentInfo[] arginfo = ((t.Action == 0 && ti.Args[0] != null) ? ti.Args : act.Args); //mxd
|
||||
ArgumentInfo[] stringarginfo = ti.StringArgs;
|
||||
ArgumentInfo[] arginfo = (t.Action == 0 && ti.Args[0] != null) ? ti.Args : act.Args; //mxd
|
||||
ArgumentInfo[] stringarginfo = ti.StringArgs[0] != null ? ti.StringArgs : act.StringArgs;
|
||||
|
||||
//mxd. ACS script argument names
|
||||
bool isacsscript = (Array.IndexOf(GZGeneral.ACS_SPECIALS, t.Action) != -1);
|
||||
|
|
Loading…
Reference in a new issue