mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fixes compile error.
This commit is contained in:
@@ -207,7 +207,7 @@
|
||||
|
||||
dat += "<hr><strong>POTIONS<sup>*</sup></strong><br><small>* Non-refundable</small><br><br>"
|
||||
|
||||
for(var/P in get_available_potions)
|
||||
for(var/P in get_available_potions())
|
||||
var/obj/item/potion/potion = P
|
||||
var/potion_name = initial(potion.name)
|
||||
var/potion_desc = initial(potion.desc)
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
desc = "An empty potion bottle."
|
||||
|
||||
/obj/item/potion/proc/imbibe(mob/user)
|
||||
if(full!)
|
||||
if(!full)
|
||||
return
|
||||
full = FALSE
|
||||
update_icon()
|
||||
@@ -103,7 +103,7 @@
|
||||
user.make_invisible(INVISIBLEPOTION, 1 MINUTES)
|
||||
|
||||
/obj/item/potion/invisibility/impact_atom(atom/target)
|
||||
if(ismovableatom(target))
|
||||
if(isatommovable(target))
|
||||
var/atom/movable/AM = target
|
||||
AM.make_invisible(INVISIBLEPOTION, 1 MINUTES)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user