mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Merge pull request #39809 from AnturK/syringeinjectlogfix
Fixes syringe injection logging for non-mobs.
This commit is contained in:
committed by
yogstation13-bot
parent
15d39d4429
commit
a877861eb1
@@ -111,7 +111,7 @@
|
|||||||
if(SYRINGE_INJECT)
|
if(SYRINGE_INJECT)
|
||||||
// Always log attemped injections for admins
|
// Always log attemped injections for admins
|
||||||
var/contained = reagents.log_list()
|
var/contained = reagents.log_list()
|
||||||
log_combat(user, L, "attemped to inject", src, addition="which had [contained]")
|
log_combat(user, target, "attempted to inject", src, addition="which had [contained]")
|
||||||
|
|
||||||
if(!reagents.total_volume)
|
if(!reagents.total_volume)
|
||||||
to_chat(user, "<span class='notice'>[src] is empty.</span>")
|
to_chat(user, "<span class='notice'>[src] is empty.</span>")
|
||||||
|
|||||||
Reference in New Issue
Block a user