Skip to content

Commit

Permalink
DWAINE Base Program Cleanup (goonstation#20873)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Moriarty authored Sep 28, 2024
1 parent 4e0cea7 commit ce63e11
Show file tree
Hide file tree
Showing 2 changed files with 530 additions and 502 deletions.
2 changes: 1 addition & 1 deletion code/modules/networks/computer3/mainframe2/_base_os.dm
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ var/global/list/generic_exit_list = list("command" = DWAINE_COMMAND_EXIT)
return ESIG_GENERIC

var/datum/computer/file/mainframe_program/task_model = src.parse_file_directory(data["path"], src.holder.root, FALSE)
if (!task_model || !task_model.executable)
if (!task_model?.executable)
return ESIG_NOTARGET

task_model = src.master.run_program(task_model, (pass_user ? caller.useracc : null), caller, data["args"])
Expand Down
Loading

0 comments on commit ce63e11

Please sign in to comment.