modified way to patch, can realize params map for compatibility, and try to hook Item in lua.
This commit is contained in:
@@ -49,7 +49,7 @@ if SERVER then
|
||||
|
||||
elseif CLIENT then
|
||||
defaultLib["Sprite"] = CreateStatic("Sprite")
|
||||
defaultLib["Keys"] = LuaUserData.RegisterType("Microsoft.Xna.Framework.Input.Keys")
|
||||
defaultLib["Keys"] = LuaUserData.CreateStatic("Microsoft.Xna.Framework.Input.Keys")
|
||||
defaultLib["PlayerInput"] = CreateStatic("PlayerInput")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user