LOGGING CODE IS GARBAGE (SPEEDMERGE) ~~FIXES FREON LAG~~ (#20378)

* LOGGING CODE IS GARBAGE (SPEEDMERGE) ~~FIXES FREON LAG~~

disables logging for freon ice slips, good thing we got profiling and witness testimonies

* Update carbon_movement.dm
This commit is contained in:
Iamgoofball
2016-09-08 13:02:55 +12:00
committed by oranges
parent 36562b3046
commit e68f52b609
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -118,7 +118,6 @@
return 0
if(!(lube&SLIDE_ICE))
C << "<span class='notice'>You slipped[ O ? " on the [O.name]" : ""]!</span>"
if(!C.slipping)
C.attack_log += "\[[time_stamp()]\] <font color='orange'>Slipped[O ? " on the [O.name]" : ""][(lube&SLIDE)? " (LUBE)" : ""]!</font>"
if(!(lube&SLIDE_ICE))
playsound(C.loc, 'sound/misc/slip.ogg', 50, 1, -3)
@@ -11,7 +11,8 @@ var/const/GALOSHES_DONT_HELP = 4
var/const/SLIDE_ICE = 8
/mob/living/carbon/slip(s_amount, w_amount, obj/O, lube)
add_logs(src,, "slipped",, "on [O ? O.name : "floor"]")
if(!(lube&SLIDE_ICE))
add_logs(src,, "slipped",, "on [O ? O.name : "floor"]")
return loc.handle_slip(src, s_amount, w_amount, O, lube)