Skip to content

Commit

Permalink
继续修新的事件系统问题
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Aug 10, 2024
1 parent f7e4e47 commit 97e17ed
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions parts/player/player.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2746,6 +2746,15 @@ local function update_streaming(P)
end
end
SELF.gameEnv.extraEventHandler[eventName](SRC,SELF,unpack(paramList))
-- Write to stream
if SELF.type=='human' then
ins(GAME.rep,SELF.frameRun)
ins(GAME.rep,event)
ins(GAME.rep,SELF.sid)
for i=1,#paramList do
ins(GAME.rep,paramList[i])
end
end
end
end
P.streamProgress=P.streamProgress+2
Expand Down

0 comments on commit 97e17ed

Please sign in to comment.