Some tweaks and fixes for UL and any while loops I find, as well as removing generally bad procs.

This commit is contained in:
SkyMarshal
2012-06-22 12:49:54 -07:00
parent f4ba1a40c3
commit 668f81c329
15 changed files with 29 additions and 39 deletions

View File

@@ -88,7 +88,7 @@
var/tod = time2text(world.realtime,"hh:mm:ss") //weasellos time of death patch
if(mind)
mind.store_memory("Time of death: [tod]", 0)
sql_report_death(src)
// sql_report_death(src)
//Calls the rounds wincheck, mainly for wizard, malf, and changeling now
ticker.mode.check_win()

View File

@@ -67,7 +67,7 @@
var/tod = time2text(world.realtime,"hh:mm:ss") //weasellos time of death patch
store_memory("Time of death: [tod]", 0)
sql_report_cyborg_death(src)
// sql_report_cyborg_death(src)
if (src.key)
spawn(50)

View File

@@ -1081,7 +1081,7 @@ note dizziness decrements automatically in the mob's Life() proc.
* Sends resource files to client cache
*/
/mob/proc/getFiles()
if(!isemptylist(args))
if(args && args.len)
for(var/file in args)
src << browse_rsc(file)
return 1