新增virtualKey模块整理虚拟按键相关代码,整理代码

This commit is contained in:
MrZ626
2021-04-22 15:15:31 +08:00
parent 2400325b22
commit 9f956f965a
11 changed files with 359 additions and 341 deletions

View File

@@ -172,7 +172,7 @@ function Player:switchKey(id,on)
self:releaseKey(id)
end
if self.type=="human"then
virtualkey[id].ava=on
VK.switchKey(id,on)
end
end
function Player:set20G(if20g)