mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fixed thread:start crashing with nil arguments
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user