Fixed thread:start crashing with nil arguments

This commit is contained in:
Alex Szpakowski
2013-07-10 17:41:54 -03:00
parent 454ba9d968
commit 35b4f03411
3 changed files with 24 additions and 12 deletions
+3 -1
View File
@@ -33,6 +33,7 @@ class Variant : public love::Object
{
public:
Variant();
Variant(bool boolean);
Variant(double number);
Variant(const char *string, size_t len);
@@ -53,7 +54,8 @@ private:
CHARACTER,
STRING,
LUSERDATA,
FUSERDATA
FUSERDATA,
NIL
} type;
union
{