mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
fix karl checkpoints maybe
This commit is contained in:
parent
9827a43ec0
commit
3575ccc658
1 changed files with 5 additions and 4 deletions
|
@ -37,7 +37,8 @@ function rpc.send_karl(x, y, vx, vy, t, jet)
|
|||
for _, com in ipairs(EntityGetComponent(players_karl, "LuaComponent")) do
|
||||
if ComponentGetValue2(com, "script_source_file") == "data/scripts/buildings/racing_cart_move.lua" then
|
||||
EntityRemoveComponent(players_karl, com)
|
||||
break
|
||||
elseif ComponentGetValue2(com, "script_collision_trigger_hit") == "data/scripts/buildings/racing_cart_checkpoint.lua" then
|
||||
EntityRemoveComponent(players_karl, com)
|
||||
end
|
||||
end
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue