Переглянути джерело

Fixed GENie script when action is not specified.

Бранимир Караџић 5 роки тому
батько
коміт
e08de6dd2c
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      scripts/genie.lua

+ 1 - 1
scripts/genie.lua

@@ -122,7 +122,7 @@ solution "bgfx"
 		"Release",
 	}
 
-	if _ACTION:match "xcode*" then
+	if _ACTION ~= nil and _ACTION:match "xcode*" then
 		platforms {
 			"Universal",
 		}