master
parent
35fc8c3308
commit
276392cfc1
|
|
@ -562,24 +562,6 @@ function M:EventInit()
|
|||
)
|
||||
end
|
||||
)
|
||||
local func = _gamectr:PopEvent()
|
||||
if (func ~= nil) then
|
||||
if self._flag_fanpaofa then
|
||||
self._popEvent = false
|
||||
end
|
||||
local result, resultInfo = pcall(func)
|
||||
if result then
|
||||
|
||||
else
|
||||
printlog("game_error", resultInfo)
|
||||
printlog("game_error_tra", debug.traceback())
|
||||
self._gamectr = ControllerManager.GetController(GameController)
|
||||
if self._gamectr then
|
||||
self._gamectr:ResetConnect()
|
||||
end
|
||||
end
|
||||
--func()
|
||||
end
|
||||
_gamectr:AddEventListener(
|
||||
GameEvent.ZPResult1,
|
||||
function(...)
|
||||
|
|
|
|||
Loading…
Reference in New Issue