Override Lua's print function with Internal.Debug
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
print = Internal.Debug
|
||||
|
||||
OpenRA = { }
|
||||
|
||||
OpenRA.New = function(className, args)
|
||||
@@ -11,10 +13,6 @@ OpenRA.RunAfterDelay = function(delay, func)
|
||||
Internal.RunAfterDelay(delay, func)
|
||||
end
|
||||
|
||||
OpenRA.Debug = function(obj)
|
||||
Internal.Debug(obj)
|
||||
end
|
||||
|
||||
OpenRA.SetViewportCenterPosition = function(position)
|
||||
WorldRenderer.Viewport:Center(position)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user