mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-20 19:02:12 +00:00
UDBScript: fixed a problem where using QueryOption resulted in an exception being thrown. Fixes #661
This commit is contained in:
parent
8157c0a6bd
commit
ee307fcda3
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ namespace CodeImp.DoomBuilder.UDBScript
|
|||
this.enumvalues = enumvalues;
|
||||
|
||||
// If it's an enum try to get the default value from default value number
|
||||
if(enumvalues.Count > 0)
|
||||
if(enumvalues != null && enumvalues.Count > 0)
|
||||
{
|
||||
foreach (DictionaryEntry de in enumvalues)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue