mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Fix suggested by Ginja
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
|
||||
if(istype(I,/obj/item/stack/material))
|
||||
var/obj/item/stack/material/S = I
|
||||
if(!S.material in materials)
|
||||
if(!(S.material in materials))
|
||||
user << "<span class='warning'>The [src] doesn't accept [S.material]!</span>"
|
||||
return
|
||||
|
||||
|
||||
@@ -174,7 +174,7 @@
|
||||
|
||||
if(istype(I,/obj/item/stack/material))
|
||||
var/obj/item/stack/material/S = I
|
||||
if(!S.material in materials)
|
||||
if(!(S.material in materials))
|
||||
user << "<span class='warning'>The [src] doesn't accept [S.material]!</span>"
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user