Archived
Compare commits
3
Commits
3bd4815ee2
...
v1.2.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68aba1bd47 | ||
|
|
ff59e73a0f | ||
|
|
807bd9f4ef |
+3
@@ -145,6 +145,8 @@ local function onTick()
|
||||
end
|
||||
end
|
||||
|
||||
-- Registered on BOTH OnTick and OnTickEvenPaused, same as
|
||||
-- RDB_RequestPipeline.
|
||||
function RDB_PlayerSnapshot.init()
|
||||
if initialized then
|
||||
return
|
||||
@@ -152,5 +154,6 @@ function RDB_PlayerSnapshot.init()
|
||||
initialized = true
|
||||
|
||||
Events.OnTick.Add(onTick)
|
||||
Events.OnTickEvenPaused.Add(onTick)
|
||||
Events.OnCharacterDeath.Add(RDB_PlayerSnapshot.onCharacterDeath)
|
||||
end
|
||||
Reference in new issue
Block a user