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