mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Fixes MoMMI's inventory derpage
This commit is contained in:
@@ -86,7 +86,6 @@
|
|||||||
|
|
||||||
if(istype(T))
|
if(istype(T))
|
||||||
T.Entered(tool_state)
|
T.Entered(tool_state)
|
||||||
|
|
||||||
TS.dropped(src)
|
TS.dropped(src)
|
||||||
tool_state = null
|
tool_state = null
|
||||||
module_active=null
|
module_active=null
|
||||||
@@ -112,9 +111,10 @@
|
|||||||
inv_sight.icon_state = "sight"
|
inv_sight.icon_state = "sight"
|
||||||
if(tool_state == module_active)
|
if(tool_state == module_active)
|
||||||
//var/obj/item/found = locate(tool_state) in src.module.modules
|
//var/obj/item/found = locate(tool_state) in src.module.modules
|
||||||
if(is_in_modules(tool_state))
|
if(!is_in_modules(tool_state))
|
||||||
var/obj/item/TS = tool_state
|
var/obj/item/TS = tool_state
|
||||||
drop_item()
|
drop_item()
|
||||||
|
|
||||||
if(TS && TS.loc)
|
if(TS && TS.loc)
|
||||||
TS.loc = src.loc
|
TS.loc = src.loc
|
||||||
if(istype(tool_state,/obj/item/borg/sight))
|
if(istype(tool_state,/obj/item/borg/sight))
|
||||||
|
|||||||
Reference in New Issue
Block a user