Skip to content

Commit

Permalink
Update SSgarbage.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dzianishchyts committed Feb 1, 2025
1 parent ad04777 commit d66098b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion code/controllers/subsystem/SSgarbage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,14 @@ 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)
#ifdef GAME_TESTS
del(D)
#else
if(istype(D, /client))
del(D) // this allows player kicking
#endif
// SS220 EDIT END

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

Expand Down

0 comments on commit d66098b

Please sign in to comment.