nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nitrpg: also react on reopened pull requests
[nit.git]
/
contrib
/
nitrpg
/
src
/
reactors.nit
diff --git
a/contrib/nitrpg/src/reactors.nit
b/contrib/nitrpg/src/reactors.nit
index
da8b212
..
e2717f4
100644
(file)
--- a/
contrib/nitrpg/src/reactors.nit
+++ b/
contrib/nitrpg/src/reactors.nit
@@
-58,7
+58,7
@@
redef class PullRequestEvent
# Rewards player for opened pull requests.
redef fun react_player_event(r, game) do
- if action == "opened" then
+ if action == "opened" or action == "reopened" then
react_pull_open(r, game)
else if action == "closed" then
react_pull_close(r, game)