Fixed issue with randoms crashing the server

This commit is contained in:
Deukhoofd committed 2016-05-21 15:57:45 +02:00
1 parent ff5bc76159
commit 51a224b44a
1 file changed
+1 -1
+1 -1
View File
@@ -133,7 +133,7 @@ class @Pokemon
try try
@ppHash[move.name] = @maxPPHash[move.name] = pp || (move.pp * 8/5) @ppHash[move.name] = @maxPPHash[move.name] = pp || (move.pp * 8/5)
catch error catch error
console.log(error) console.log(move)
setType: (newType) -> setType: (newType) ->
@types = newType @types = newType