From 1a9d23a31b49b2f070e3a5548529941a67fed639 Mon Sep 17 00:00:00 2001 From: bigdogmat Date: Thu, 1 Oct 2015 12:59:56 -0400 Subject: [PATCH] Allow number/normal to be used as a method type --- lua/entities/gmod_wire_expression2/base/parser.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/lua/entities/gmod_wire_expression2/base/parser.lua b/lua/entities/gmod_wire_expression2/base/parser.lua index d64043e999..25411b7701 100644 --- a/lua/entities/gmod_wire_expression2/base/parser.lua +++ b/lua/entities/gmod_wire_expression2/base/parser.lua @@ -604,8 +604,6 @@ function Parser:Stmt10() if Type == "number" then Type = "normal" end - if Type == "normal" then self:Error("Number can not be used as function object type", TypeToken) end - if Type == "void" then self:Error("Void can not be used as function object type", TypeToken) end Type = Type:upper()