Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
realforest2001 committed Sep 9, 2023
1 parent 13949f1 commit da8fdc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/game/objects/structures/pipes/vents/vents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
var/confirm = alert(user, "Confirm gas setup. \n\nGas: '[gas_choice]'\nRadius: '[radius_choice]'\nWarn Time: '[warn_choice / 10] seconds' \n\n Is this correct?", "Confirmation", "Yes", "No")
if(confirm != "Yes")
return FALSE
log_admin("[key_name(user)] released gas (Gas: [gas_choice], Radius: [radius_choice], Delay: [warn_choice]) from [name] at X[x], Y[y], Z[z].")
create_gas(gas_choice, radius_choice, warn_choice)
return TRUE

Expand Down

0 comments on commit da8fdc0

Please sign in to comment.