mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Some tweaks and fixes for UL and any while loops I find, as well as removing generally bad procs.
This commit is contained in:
@@ -46,11 +46,11 @@
|
||||
|
||||
proc/check_all_steps(atom/used_atom,mob/user as mob) //check all steps, remove matching one.
|
||||
for(var/i=1;i<=steps.len;i++)
|
||||
var/list/L = steps[i];
|
||||
var/list/L = steps[i]
|
||||
if(istype(used_atom, L["key"]))
|
||||
if(custom_action(i, used_atom, user))
|
||||
steps[i]=null;//stupid byond list from list removal...
|
||||
listclearnulls(steps);
|
||||
steps[i]=null//stupid byond list from list removal...
|
||||
steps.Remove(null)
|
||||
if(!steps.len)
|
||||
spawn_result()
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user