aboutsummaryrefslogtreecommitdiff
path: root/content.go
diff options
context:
space:
mode:
Diffstat (limited to 'content.go')
-rw-r--r--content.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/content.go b/content.go
index 4d37942..2555f7d 100644
--- a/content.go
+++ b/content.go
@@ -590,10 +590,10 @@ func prependTexture(prep string, t *mt.Texture) {
*t = mt.Texture(s)
}
-func (sc *serverConn) prependInv(inv *mt.Inv) {
- for k, l := range *inv {
+func (sc *serverConn) prependInv(inv mt.Inv) {
+ for k, l := range inv {
for i := range l.Stacks {
- prepend(sc.name, &(*inv)[k].InvList.Stacks[i].Name)
+ prepend(sc.name, &inv[k].InvList.Stacks[i].Name)
}
}
}