Archived
Compare commits
2
Commits
v1.2.0
..
ff59e73a0f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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