Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/SwissalpS/replacer
Browse files Browse the repository at this point in the history
  • Loading branch information
SwissalpS committed May 15, 2022
2 parents 34f181a + 05d0b58 commit 65a1041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ end -- step

function replacer.test.dealloc_player(player)
if not rt.player or not rt.player.get_player_name then return end
if not rt.player:get_player_name() == player:get_player_name() then return end
if rt.player:get_player_name() ~= player:get_player_name() then return end
rt.active = false
rt.player = nil
end -- dealloc_player
Expand Down

0 comments on commit 65a1041

Please sign in to comment.