Fix OpenRA.RunAfterDelay queuing a null action. Fixes #4512.
This commit is contained in:
@@ -10,6 +10,7 @@ OpenRA.New = function(className, args)
|
||||
end
|
||||
|
||||
OpenRA.RunAfterDelay = function(delay, func)
|
||||
if func == nil then error("No function specified", 2) end
|
||||
Internal.RunAfterDelay(delay, func)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user