mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-29 11:31:38 +00:00
Fix cameras again (#2140)
changes: Fixed a bug where pictures from cameras would be black if the player clicked on something that was not a turf.
This commit is contained in:
@@ -204,7 +204,7 @@ var/global/photo_count = 0
|
||||
return TRUE // DVIEW will do sanity checks, we've got no special checks.
|
||||
|
||||
/obj/item/device/camera/proc/captureimage(atom/target, mob/living/user, flag)
|
||||
var/obj/item/weapon/photo/p = createpicture(target, user, flag)
|
||||
var/obj/item/weapon/photo/p = createpicture(get_turf(target), user, flag)
|
||||
printpicture(user, p)
|
||||
|
||||
/obj/item/device/camera/proc/createpicture(atom/target, mob/living/user, flag)
|
||||
|
||||
Reference in New Issue
Block a user