chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2855e2
)
seems to be able to do a thing
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 11 Jul 2020 19:32:25 +0000
(20:32 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 11 Jul 2020 19:32:25 +0000
(20:32 +0100)
templates/script.ts
patch
|
blob
|
history
diff --git
a/templates/script.ts
b/templates/script.ts
index c64bc05214b98ada3fd7004378ba97671923a521..609f3dd256a108a6eddd31bc66e0713b31e4e714 100644
(file)
--- a/
templates/script.ts
+++ b/
templates/script.ts
@@
-217,7
+217,7
@@
function set_grab(piece: PieceId, p: PieceInfo, owner: PlayerId) {
p.pelem.appendChild(nelem);
}
function set_ungrab(piece: PieceId, p: PieceInfo) {
- p.gplayer =
""
;
+ p.gplayer =
null
;
piece_cleanup_grab(piece,p);
}
function piece_cleanup_grab(piece: PieceId, p: PieceInfo) {