Skip to content

Commit

Permalink
Fix player kicking
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dzianishchyts committed Jan 19, 2025
1 parent 4951a62 commit f092a90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/controllers/subsystem/SSgarbage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,10 @@ SUBSYSTEM_DEF(garbage)
var/type = D.type
var/refID = text_ref(D)

// del(D) SS220 EDIT - disable hard del (performance tweak)
// SS220 EDIT START - disable hard del (performance tweak)
if(istype(D, /client))
del(D) // this allows player kicking
// SS220 EDIT END

tick = (TICK_USAGE - tick + ((world.time - ticktime) / world.tick_lag * 100))

Expand Down

0 comments on commit f092a90

Please sign in to comment.