Skip to content

Commit

Permalink
fix stevari
Browse files Browse the repository at this point in the history
  • Loading branch information
bgkillas committed Feb 9, 2025
1 parent 4fb7757 commit 5be5fd3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quant.ew/files/system/stevari/stevari.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ function rpc.spawn_stevari(pos_x, pos_y)

if guard_spawn_id ~= 0 then
guard_x, guard_y = EntityGetTransform(guard_spawn_id)

EntityKill(guard_spawn_id)
end

if ctx.is_host then
if ctx.rpc_peer_id == ctx.my_id then
EntityLoad("data/entities/misc/spawn_necromancer_shop.xml", guard_x, guard_y)
else
EntityLoad("mods/quant.ew/files/system/stevari/spawn_necromancer_shop.xml", guard_x, guard_y)
Expand Down

0 comments on commit 5be5fd3

Please sign in to comment.