mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-02-17 01:12:20 +00:00
Quick fix for buggy gather update
This commit is contained in:
parent
467b13526a
commit
b1f7aefe46
2 changed files with 3 additions and 3 deletions
|
@ -85,8 +85,9 @@ module.exports = function (namespace) {
|
|||
|
||||
socket.on("gather:refresh", function () {
|
||||
socket.emit("gather:refresh", {
|
||||
gather: Gather.current.toJson(),
|
||||
currentGatherer: Gather.current.getGatherer(socket._user)
|
||||
gather: Gather.current ? Gather.current.toJson() : null,
|
||||
maps: Map.list,
|
||||
servers: Server.list
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -612,7 +612,6 @@ var Gather = React.createClass({
|
|||
let servers = this.props.servers;
|
||||
let maps = this.props.maps;
|
||||
let user = this.props.user;
|
||||
|
||||
if (gather === null) return <div></div>;
|
||||
|
||||
let voting;
|
||||
|
|
Loading…
Reference in a new issue