mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
<span> and cable use()
- Added more span tags - using cable now uses use() - fixed use() to correctly return 1 when it succeeds - checked that there were no checks that would’ve been previously borked. For testing purposes I renamed use to use_cable (‘use’ is kinda bad for a proc name, but use_cable is hardly better), but left that out of the commit because it would’ve inflated the pr.
This commit is contained in:
@@ -302,8 +302,8 @@
|
||||
if(src.amount < used)
|
||||
return 0
|
||||
else if (src.amount == used)
|
||||
//handle mob icon update
|
||||
if(ismob(loc))
|
||||
.=1 //Because del(src) stops the proc, set the default return value to 1
|
||||
if(ismob(loc)) //handle mob icon update
|
||||
var/mob/M = loc
|
||||
M.u_equip(src)
|
||||
del(src)
|
||||
|
||||
Reference in New Issue
Block a user